curl-library
RE: Supressing returned data during http post
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 6 Jul 2005 14:03:49 +0200 (CEST)
Date: Wed, 6 Jul 2005 14:03:49 +0200 (CEST)
On Wed, 6 Jul 2005, Tim Fulcher - Clickatell wrote:
> Thanks again for your help on Monday. However I have noticed that, when
> using your suggested code, should the URL to which I'm attempting to post be
> unavailable and I have set a timeout period using CURLOPT_TIMEOUT, that I
> receive no notification that the URL is unavailable. Is there anyway that
> this error can be intercepted?
My suggestions don't alter how libcurl works in that aspect. Read the return
code, use CURLOPT_ERRORBUFFER etc.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-07-06