curl / Mailing Lists / curl-library / Single Mail

curl-library

RE: Multi CURL - persistent connection issue

From: Erik Janssen <erik.janssen_at_axis.com>
Date: Tue, 29 May 2018 16:19:47 +0000

The server might be of questionable nature, looking at its identification
Are you sure there is payload on the wire? Do you get data when you try the same request with the commandline curl?

Erik

From: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Suganthi
Sent: dinsdag 29 mei 2018 17:23
To: curl-library_at_cool.haxx.se
Subject: Multi CURL - persistent connection issue

Hi all ,

Would like to have inputs on debugging an issue with multi curl .

Our application is as below : Client is using HTTP 1.1 and server is on HTTP 1.0 .
Client is using multi interface and server sends "Connection : keep-alive" header to have persistent connection.

However after receiving response from server, following message is seen :

< Server: BaseHTTP/0.3 Python/2.7.12
< Date: Tue, 29 May 2018 03:50:01 GMT
* Marked for [keep alive]: Connection keep-alive
* HTTP/1.0 connection set to keep alive!
< Connection: keep-alive
* Operation timed out after 20003 milliseconds with 0 bytes received
* Marked for [closure]: Disconnected with pending data
* Curl_done
* Closing connection 2
* The cache now contains 0 members

CURL timesout and does not move to COMPLETED state and application does not receive CURLMSG_DONE. Our application waits for CURLMSG_DONE from libcurl to know perform is done.

Any leads would be highly appreciated.

Thanks.

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-05-29