|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-29 03:24 UTC] mike@php.net
[2008-10-29 08:23 UTC] Jared dot Williams1 at ntlworld dot com
[2008-11-21 05:17 UTC] mike@php.net
[2009-02-11 11:22 UTC] mike@php.net
[2010-09-02 14:13 UTC] from dot php dot net at brainbox dot cz
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 12:00:01 2025 UTC |
Description: ------------ There may be a problem with enabling pipelining on a request pool, when one of the requests returns a 404. It seems to completely lock up Apache2.0 (Win32), and only a restart seems to free it. Not enabling pipelining works fine. Reproduce code: --------------- $pool = new HttpRequestPool(); $pool->enablePipelining(true); $requests = array(); foreach($urls as $url) { $r = new HttpRequest($url); $r->addHeaders($headers); if (isset($request['Cookie']) && $request['Cookie']) $r->addCookies($request['Cookie']); $requests[$url] = $r; $pool->attach($r); } $pool->send(); Expected result: ---------------- Apache not to hang. Actual result: -------------- Some requests are returned, as seen by watching via a debugging reverse proxy (Fiddler2). But the 404 url and any other uncompleted requests don't appear to happen.