ID: 47717 Updated by: paj...@php.net Reported By: ray_kimsey at ncsu dot edu -Status: Open +Status: Bogus Bug Type: cURL related Operating System: RHEL 5.3 PHP Version: 5.2CVS-2009-03-18 -Assigned To: +Assigned To: pajoye New Comment:
Cannot reproduce, in php or in c using cURL directly. Sounds like a network issue not a php one > bogus. Previous Comments: ------------------------------------------------------------------------ [2009-04-01 13:05:41] ray_kimsey at ncsu dot edu I tested on two separate servers with the same results. Both machines were are on the same network. Thank you for your assistance. ------------------------------------------------------------------------ [2009-04-01 12:34:19] paj...@php.net It works here. Maybe some invalid redirect from one of your box? Did you try this script from the same machine or network? 5.3.0-cvs, 5.2.9-1 and 5.2-cvs with curl 7.19.4: * About to connect() to www.google.com port 80 (#0) * Trying 74.125.39.99... * connected * Connected to www.google.com (74.125.39.99) port 80 (#0) > GET / HTTP/1.1 Host: www.google.com Accept: */* < HTTP/1.1 302 Found < Location: http://www.google.de/ < Cache-Control: private < Content-Type: text/html; charset=UTF-8 < Server: GoogleOS 1.0 < Set-Cookie: PREF=ID=4a339d976374a632:TM=1238589105:LM=1238589105:S=7pLUEtWGxnkHF5G4; expires=Fri, 01-Apr-2011 12:31:45 GMT; path=/; domain=.google.com < Date: Wed, 01 Apr 2009 12:31:45 GMT < Content-Length: 218 < * Connection #0 to host www.google.com left intact * Closing connection #0 ------------------------------------------------------------------------ [2009-04-01 12:03:20] ray_kimsey at ncsu dot edu Yes, that is correct. ------------------------------------------------------------------------ [2009-04-01 12:00:22] paj...@php.net Summary: 5.2.9 + 7.19.4, x64, fails. 5.2.6 + 7.19.4, x64, works. snaps 5.2-20090318153 + 7.19.4 x64, fails. snaps 5.2-20090318153 + 7.15.5 x64, works. Do I get it right? ------------------------------------------------------------------------ [2009-04-01 11:58:34] ray_kimsey at ncsu dot edu Well PHP 5.2.6 works with older and newer versions of Curl. (see orignal description of problem). There appears to be something that was implemented in newer versions of PHP (later than 5.2.6) that is causing a problem. My guess would be something new (such as COPYPOSTFIELDS) implemented in recent versions of Curl that newer versions of PHP are trying to use. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/47717 -- Edit this bug report at http://bugs.php.net/?id=47717&edit=1