Hello, I'm using the easy interface of curl in a client application.
In this client application I would like to detect if the HTTP request is lost during sending or if the response from the server is lost when the client disconnects (e.g. disabling the network adapter).
Two "visual" examples:
The HTTP request has been lost
Client Server
-----> xxx
The HTTP repsonse has been lost
Client Server
--------------->
xxx <----
For both scenarios the return value of curl_easy_perform() is
"CURLE_COULDNT_CONNECT".
Are there any other possibilities to check at which state the disconnect has been occured?
Thank a lot. Kind Regards Marco
smime.p7s
Description: S/MIME Kryptografische Unterschrift
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
