|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2004-03-31 17:55 UTC] [email protected]
[2004-04-19 03:02 UTC] OvdSpek at LIACS dot NL
[2004-04-19 06:38 UTC] [email protected]
[2005-07-29 18:21 UTC] [email protected]
[2008-03-07 00:01 UTC] a dot u dot savchuk at gmail dot com
[2010-12-20 13:59 UTC] [email protected]
-Package: Feature/Change Request
+Package: Streams related
-PHP Version: 5.1*
+PHP Version: *
[2012-07-30 10:10 UTC] olivier dot parmentier at cellfishmedia dot fr
[2013-12-13 07:42 UTC] [email protected]
-Status: Assigned
+Status: Open
[2013-12-13 07:43 UTC] [email protected]
-Status: Assigned
+Status: Open
-Assigned To: wez
+Assigned To:
[2016-08-04 13:07 UTC] vhu at iki dot fi
[2016-08-04 13:43 UTC] [email protected]
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: nikic
[2016-08-04 13:43 UTC] [email protected]
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 17 10:00:01 2026 UTC |
Description: ------------ This code sends two packets, one of 16 bytes and one of 17 bytes. I guess this is caused by multiple calls to php_stream_write in http_fopen_wrapper.c: php_stream_url_wrap_http_ex Preparing the entire request in one buffer and sending it via one call should produce less packets (and be faster). Reproduce code: --------------- <?php echo strlen(file_get_contents("http://php.net/")); ?> Expected result: ---------------- One packet of 33 bytes. Actual result: -------------- Two packets.