Bug #41983 [Com]: Error Fetching http headers
[email protected] ("maarten dot segers at amplexor dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=41983&edit=1 ID: 41983 Comment by: maarten dot segers at amplexor dot com Reported by: ipso at snappymail dot ca Summary: Error Fetching http headers Status: Closed Type: Bug Package: SOAP related Operating System: Linux PHP Version: 5.2.3 Assigned To: dmitry Block user comment: N Private report: N New Comment: How has this been resolved? We still experience the "Error Fetching http headers" error using SoapClient. Previous Comments: ------------------------------------------------------------------------ [2007-07-24 09:28:35] [email protected] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2007-07-21 17:22:21] ipso at snappymail dot ca Sorry, here is the file and line that needs changing: ext/soap/php_http.c:1298 ------------------------------------------------------------------------ [2007-07-21 17:20:16] ipso at snappymail dot ca I had someone look into this for me, apparently the device isn't sending the "\r\n" at the end of the header, but only "\n". So instead of: if (strcmp(headerbuf, "\r\n") == 0) { Use: if (strcmp(headerbuf, "\r\n") == 0 || strcmp(headerbuf, "\n") == 0) { ------------------------------------------------------------------------ [2007-07-19 16:27:17] ipso at snappymail dot ca Just wanted to follow-up and make sure you got the email okay and have all the data you need to help track down the issue? Thanks for looking into this. ------------------------------------------------------------------------ [2007-07-13 15:40:56] ipso at snappymail dot ca I emailed a TCP dump of the SOAP request/response to: [email protected] ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=41983 -- Edit this bug report at https://bugs.php.net/bug.php?id=41983&edit=1