cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-900871 ] curl_exec repsonse over https is Intermittent

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 19 Feb 2004 20:39:00 -0800

Bugs item #900871, was opened at 2004-02-20 04:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=900871&group_id=976

Category: https
Group: hang
Status: Open
Resolution: None
Priority: 5
Submitted By: Padmanabhan (kpaddy)
Assigned to: Daniel Stenberg (bagder)
Summary: curl_exec repsonse over https is Intermittent

Initial Comment:
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?
 
FreeBSD 4.x
PHP version : mod_php4-4.3.4_2,1
Curl version ; curl-7.10.7
Open SSL version is : openssl-0.9.7c_1
 
Please shed some light on this, so that I can continue
building my site.
 
Here is the code that 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

Thanks in advance

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=900871&group_id=976
Received on 2004-02-20