From: paddyatbefree at yahoo dot com
Operating system: FreeBSD
PHP version: 4.3.4
PHP Bug Type: HTTP related
Bug description: curl_exec repsonse over https is Intermittent
Description:
------------
I am using PHP and CURL to send/recevie XML data from a website using
https. The response is Intermittent. Some times I get the response right
away. Some time I dont get the response, and it times out. Does any one
have this problem?
PHP version : mod_php4-4.3.4_2,1
Curl version ; curl-7.10.7
Open SSL version is : openssl-0.9.7b_1
Please shed some light on this, so that I can continue building my site.
Here is the code I am trying.....
$httpURL = https://www.mysite.com/;
curl_setopt ($ch, CURLOPT_URL,$httpURL);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 1);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $httpHeaders ); // Set the Headers
curl_setopt($ch, CURLOPT_POST, 1); // POST Method
curl_setopt($ch, CURLOPT_POSTFIELDS, $httpBody); //My XML Request
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, '1');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$httpResponse = curl_exec ($ch); //Send the request
--
Edit bug report at http://bugs.php.net/?id=27322&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27322&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27322&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27322&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27322&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27322&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27322&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27322&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27322&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27322&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27322&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27322&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27322&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27322&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27322&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27322&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27322&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27322&r=float