curl-library
[PATCH] smtp.c: Fixed an issue with the EOB checking
From: Steve Holme <steve_holme_at_hotmail.com>
Date: Fri, 17 Feb 2012 19:23:18 +0000
Date: Fri, 17 Feb 2012 19:23:18 +0000
Hi Daniel,
Please find another smtp patch. This one fixes an issue with the EOB
checking where an email with multiple CRLF blank lines at the end would
cause:
1) The extra lines not to be sent as data->state.scratch would contain less
data than data->req.upload_fromhere which would be sent instead
2) The smtpc->eob variable to hold the eob character count which in turn
caused problems for subsequent emails that would be sent through additional
calls to curl_easy_perform() on the same connection.
Kind Regards
Steve
Received on 2012-02-17