| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
SSL error 10054
From: <lecblue_at_charter.net>
Date: Thu, 1 Jun 2006 11:19:11 -0700
I am running PHP from the command line. In my script, I am opening an SSL connection to a third party server. I send the server an XML request. It processes the request and returns a response. This is built into a loop because there are thousands of requests I have to make. Most of the time this works ok.
If the request is big, it may take minutes for the response. If too much time passes, I will get:
In particular it seems there is a time limit of 180 seconds (3 min). The request is processed but I never receive the response. This is a problem because I need to know if the request worked. I have altered the script to up every timeout I can find:
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 0);
I have also altered the script to ignore the error and go on. (I have to go thru a very manual process to see if the script fully worked)
Is there a timeout or keep alive parm I am missing? I have already trimmed the requests to be as small as possible but I still get some of these errors.
TIA
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info