cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Dot character as first character in smtp email

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 May 2012 23:14:31 +0200 (CEST)

On Tue, 15 May 2012, Steve Holme wrote:

> I have prepared a fix but just quickly wanted to ask if there is a specific
> reason we are checking for CRLF.CRLF before I push the fix. I appreciate
> I've done a fair bit of work in this area but I can't think why it is being
> done like this and not as per the RFC.

I didn't check the code for this right now, but isn't that simply because we
don't have any line concept in the code (just a blob of data with a length) so
we check for CRLF to mean the end of a line and then ".CRLF" to be a single
line with a single dot in it?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-16