cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [Bulk] Re: [Bulk] RE: SMTP, data corruption and dot stuffing

From: <operaxxox_at_yahoo.ca>
Date: Wed, 19 Oct 2011 17:33:56 +0200

Le 19/10/2011 16:27, operaxxox_at_yahoo.ca a écrit :
> I've been able to step into debugger to analyze Curl_smtp_escape_eob
> (smtp.c) but I've been unable to spot a dot insertion in the buffer.
> Will continue to look into it.

The dot is inserted via the dump function for CURLOPT_DEBUGFUNCTION

fprintf(stream, "%c",
               (ptr[i+c]>=0x20) && (ptr[i+c]<0x80)?ptr[i+c]:'.');

Maybe the problem is not related to dot stuffing after all

I still don't understand why the dump puts where the message is
getting corrupted.

--
Catherine
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-19