On Mon, 21 May 2012, Steve Holme wrote:
Can anyone who is more familiar with the multi interface tell us if smtp_done() is intentionally called even when there is a failure?
Yes it is and it will. See lib/url.c:Curl_done() at around line 5378. It will however get the status code and "premature" state passed in as argument to enable it to act differently if need be.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
