ID:               49851
 Updated by:       sjo...@php.net
 Reported By:      sjoerd-php at linuxonly dot nl
 Status:           Closed
 Bug Type:         Streams related
 Operating System: *
 PHP Version:      5.*, 6
 New Comment:

This one is fixed. Filed bug #50451 "http wrapper breaks on 2048 char
long headers".


Previous Comments:
------------------------------------------------------------------------

[2009-12-10 03:23:13] il...@php.net

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2009-12-10 03:23:05] s...@php.net

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=291938
Log: Fixed bug #49851 (http wrapper breaks on 1024 char long headers).

------------------------------------------------------------------------

[2009-12-02 18:46:39] j...@php.net

So it's a bug in streams code (http) and not server side. Your summary
for this bug report sucks and the category was wrong. And I should read
all comments. :) 

------------------------------------------------------------------------

[2009-12-02 16:53:11] sjo...@php.net

Apache module.

The important thing is that a.php gives a header which is exactly 1024
bytes long, including \r\n. The file_get_contents than gives a wrong
result, and you can run that on the CLI or any other SAPI.

------------------------------------------------------------------------

[2009-11-30 19:48:27] j...@php.net

What SAPI are you using? I can not reproduce this with fastcgi +
lighttpd..

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49851

-- 
Edit this bug report at http://bugs.php.net/?id=49851&edit=1

Reply via email to