curl / Mailing Lists / curl-library / Single Mail

curl-library

Multi CURL - persistent connection issue

From: Suganthi <suga18_at_gmail.com>
Date: Tue, 29 May 2018 20:52:38 +0530

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