curl-library
RE: SMTP: multi interface produce wrong error code for unknown recipient
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 21 May 2012 23:40:00 +0200 (CEST)
Date: Mon, 21 May 2012 23:40:00 +0200 (CEST)
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.htmlReceived on 2012-05-21