cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: cUrl on c and Failed to connect() to host after 1 hours

From: Yehezkel Horowitz <horowity_at_checkpoint.com>
Date: Tue, 17 Feb 2015 08:57:05 +0000

> But after 1 hours, cUrl said :  "Failed to connect() to host".
> Same server, same IP, same config... 

> If i restart application, it's good... I dont understand.

I think you have some FW in the way that cut your connection after one hour...
You can ask curl to start a new connection with FRESH_CONNECT option.

HTH
Yehezkel Horowitz

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-17