Bug #69603 [Opn]: php SoapClient hanging on outbound requests over ~4MB in size
| From: | photchkiss at vu dot com | Date: | Fri, 08 May 2015 14:42:51 +0000 |
| Subject: | Bug #69603 [Opn]: php SoapClient hanging on outbound requests over ~4MB in size | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192585@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69603&edit=1
ID: 69603
User updated by: photchkiss at vu dot com
Reported by: photchkiss at vu dot com
Summary: php SoapClient hanging on outbound requests over
~4MB in size
Status: Open
Type: Bug
Package: SOAP related
Operating System: Windows/*nix
PHP Version: 5.5.24
Block user comment: N
Private report: N
New Comment:
I also meant to say that I have the same issue on IIS w/PHP that I do on Redhat Linux. That is why
the OS says Windows/*nix.
Thanks!
Previous Comments:
------------------------------------------------------------------------
[2015-05-08 14:30:48] photchkiss at vu dot com
Description:
------------
I have a wcf service that I am calling from php. This service is used to upload files. I am running
into an issue where the request succeeds if the request is smaller than 4MB, but as soon as the
request body dips above ~4MB, the soap request hangs. It eventually responds when the remote host
forcibly closes the connection and I receive an error saying "Error fetching HTTP
headers". I have verified that I can curl the request and build my own SOAP envelope with no
problems, so I believe this problem is specific to php's soap client. I have increased my php
memory_limit, default_socket_timeout, and post_max_size, with no change in results. I am able to
make 4MB+ soap requests using a variety of other technologies as well, but would like to be able to
do so using php's native soap client.
Please let me know if there are any further questions I can answer to provide more information.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69603&edit=1