Bug #62711 [NEW]: Http header field size limit

From: Date: Tue, 31 Jul 2012 20:49:05 +0000
Subject: Bug #62711 [NEW]: Http header field size limit
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-172361@lists.php.net to get a copy of this message
From:             zcx dot wang at gmail dot com
Operating system: Windows
PHP version:      5.3Git-2012-07-31 (snap)
Package:          HTTP related
Bug Type:         Bug
Bug description:Http header field size limit

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.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62711&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62711&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62711&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62711&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62711&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62711&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62711&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62711&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62711&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62711&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62711&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62711&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62711&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62711&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62711&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62711&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62711&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62711&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62711&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62711&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62711&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62711&r=mysqlcfg



Thread (1 message)

  • zcx dot wang at gmail dot com
« previous php.bugs (#172361) next »