Bug #41983 [Com]: Error Fetching http headers
| From: | spam2 at rhsoft dot net | Date: | Fri, 31 Mar 2017 13:53:54 +0000 |
| Subject: | Bug #41983 [Com]: Error Fetching http headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208228@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=41983&edit=1
ID: 41983
Comment by: spam2 at rhsoft dot net
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
PHP Version: 5.2.3
how about stop re-open *10 years* old bugreports at least without mentioning you PHP version and if
it's below 7.0.0 you won't get any change
Previous Comments:
------------------------------------------------------------------------
[2017-03-31 13:51:00] maarten dot segers at amplexor dot com
How has this been resolved? We still experience the "Error Fetching http headers" error
using SoapClient.
------------------------------------------------------------------------
[2007-07-24 09:28:35] dmitry@php.net
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.
------------------------------------------------------------------------
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