cURL / Mailing Lists / curl-library / Single Mail


Re: SMTP, data corruption and dot stuffing

From: Daniel Stenberg <>
Date: Thu, 20 Oct 2011 15:16:27 +0200 (CEST)

On Thu, 20 Oct 2011, wrote:

> In my example, the "chunk" is reduced to 16383 bytes, so that the <CR> is
> send in the next chunk.

Exactly. Since it matches the first byte of the "EOB" string
(<CR><LF>.<CR><LF>) it is being withheld until proven to either be the EOB or
not, and then it gets output accordingly - which with your test code makes the
<CR> get output in the second chunk of data.

List admin:
Received on 2011-10-20