php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69603 php SoapClient hanging on outbound requests over ~4MB in size
Submitted: 2015-05-08 14:30 UTC Modified: 2015-05-08 14:42 UTC
Votes:5
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:5 (100.0%)
Same OS:5 (100.0%)
From: photchkiss at vu dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.5.24 OS: Windows/*nix
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-05-08 14:30 UTC] 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. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-08 14:42 UTC] photchkiss at vu dot com
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!
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Apr 10 20:01:27 2020 UTC