#31078 [Opn->Csd]: Error fetching http headers
| From: | sniper@php.net | Date: | Mon, 07 Mar 2005 20:44:47 +0000 |
| Subject: | #31078 [Opn->Csd]: Error fetching http headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76877@lists.php.net to get a copy of this message | ||
ID: 31078
Updated by: sniper@php.net
Reported By: ivan dot chollet at lynanda dot com
-Status: Open
+Status: Closed
Bug Type: SOAP related
Operating System: freebsd 5.3
PHP Version: 5.0.2
Assigned To: dmitry
New Comment:
Bug fixed -> closed.
Previous Comments:
------------------------------------------------------------------------
[2005-03-07 12:35:53] ivan dot chollet at lynanda dot com
it's seems like the bug is fixed. Congratulations !
however I wasn't able to install php 5.1 the "easy way". I had much
work to do after having configured with --enable-soap to get things
work and I could not use the code above because the function soapclient
doesn't work well with these sources.
Regards,
Ivan
------------------------------------------------------------------------
[2005-02-28 21:16:50] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-12-14 18:26:27] ivan dot chollet at lynanda dot com
The problem is well addressed by the way you told me.
It works well.
The point is that your Soap extension consumes a large amount of
memory.
In fact I set the memory limit to 64M to address the problem raised by
the code above. 64M is much for a single php process. But if you change
the upper bound to 3 million instead of 2 then it does not work anymore,
so you would need memory_limit like 128M which is not reasonable.
The code above is a big variant of real world server code that should
send a 800K string filled with db stuff. The server can send this 800K
string through Soap only if memory_limit>256M. So at the moment there
is only a solution to make the service work : use sockets or switch on
asp.net
Please tell me wether you plan to address it or not.
ivan chollet
------------------------------------------------------------------------
[2004-12-14 13:31:35] dmitry@php.net
Try to incrise "memory_limit" in your php.ini.
Your soap server dies because of memory overflow and doesn't send HTTP
response.
This is not a bug.
------------------------------------------------------------------------
[2004-12-14 02:43:17] ivan dot chollet at lynanda dot com
if someone wants a wsdl file that works with then just ask me
(basically there is one function returning a string a taking no
argument so very simple)
------------------------------------------------------------------------
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/31078
--
Edit this bug report at http://bugs.php.net/?id=31078&edit=1