|
From: <php...@li...> - 2010-02-05 11:21:11
|
> So it should be added in the next release, and I'll just need to add the > 'Transfer-Encoding: Chunked' header. May be not. -- I just saw that your code doesn't use php://input, but opens a HTTP/1.0 URL connection to some resource. What resource is it? A local or a remote resource? If it is a resource served by the originating HTTP server or servlet engine, we've found the bug. If you want to include some local resource, use requestDispather.include() or the Apache API instead. A "loop-back" URL connection does not work, because the Apache process- and servlet thread pool is limited. If it runs out of resources, further requests might create a dead lock, they will block all further requests. Imagine a thread pool of 2, with two php scripts creating 2 additional requests to the same resource. These scripts will block the HTTP server or servlet engine forever. Regards, Jost Boekemeier |