curl-library
Re: Detect if HTTP request has been reached server or not
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Jul 2012 16:05:38 +0200 (CEST)
Date: Thu, 5 Jul 2012 16:05:38 +0200 (CEST)
On Tue, 3 Jul 2012, Marco Strohner wrote:
Please don't top-post.
> My test scencario for testing that the response is lost:
>
> - call curl_easy_perform()
> - the server reacts on this request (the webview shows the data that I've
> sent)
> - disable the network adapter at the client PC (the server doesn't
> immediately send the repsonse so I have enough time)
> - curl_easy_perform() returns with CURLE_COULDNT_CONNECT
I have a very hard time to see in the code how this can happen and if it truly
does as you describe it then it is a bug. Can you show us a VERBOSE trace of
this?
> Isn't this a correct test secanrio or do you have any suggestions how to
> test these scenarios?
Test which scenarios?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-07-05