indeyets / appserver-in-php

Generic HTTP applications approach for PHP5.3+ (inspired by Rack and WSGI)
BSD 3-Clause "New" or "Revised" License
291 stars 23 forks source link

HTTP connector blocks for a long time in stream_get_line() #20

Closed demonkoryu closed 12 years ago

demonkoryu commented 12 years ago

Using PHP 5.3.8/5.3.9, it takes a long time (1-2 minutes) until the call to stream_get_line() in the HTTP connector returns. This seems to be an upstream bug: https://bugs.php.net/bug.php?id=60817

indeyets commented 12 years ago

well, if that is upstream bug, we can't do much about it

do you have some proposal?

demonkoryu commented 12 years ago

Apart from trying another socket API, no. My report is purely informational.

atifghaffar commented 12 years ago

I dont see this issue with 5.3.8 but I do with 5.3.9.

demonkoryu commented 12 years ago

According to the bug report mentioned above, this is fixed since 5.3.11.

xrstf commented 12 years ago

Jep, it is. 5.3.10 is simply broken, 5.3.11 fixes the problem. +1 for closing this, as people using AiP can easily use dotdeb or build their own packages.