php.net |  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
Votes:1
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-07-31 20:49 UTC] zcx dot wang at gmail dot com
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-31 09:41 UTC] mike@php.net
-Status: Open +Status: Feedback -Package: HTTP related +Package: pecl_http -Assigned To: +Assigned To: mike
 [2013-07-31 09:41 UTC] mike@php.net
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-2019 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:25 2019 UTC