|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62711 Http header field size limit
Submitted: 2012-07-31 20:49 UTC Modified: 2013-10-15 11:54 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: zcx dot wang at gmail dot com Assigned: mike (profile)
Status: No Feedback Package: pecl_http (PECL)
PHP Version: 5.3Git-2012-07-31 (snap) OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: zcx dot wang at gmail dot com
New email:
PHP Version: OS:


 [2012-07-31 20:49 UTC] zcx dot wang at gmail dot com
I was using the php_http.dll extension to call a SOAP service. I put a token in a custom HTTP header field. However, every time I sent the request, the response said my token is invalid. I used wireshark to sniff my package and found that the token had been truncated. The server side has no problem, because I tried the same token with SoapUI and it worked. Until I called the function HttpRequest::send(), the header was correct. So I am not sure whether there are some limitations on the HTTP header fields in php_http.dll. My token is more than 1KB.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-31 09:41 UTC]
-Status: Open +Status: Feedback -Package: HTTP related +Package: pecl_http -Assigned To: +Assigned To: mike
 [2013-07-31 09:41 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

 [2013-10-15 11:54 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Dec 06 04:05:54 2022 UTC