[En-Nut-Discussion] Http infinite loop problem.

Harald Kipp harald.kipp at egnite.de
Mon Jun 16 15:37:48 CEST 2008


Harald Kipp wrote:
> Thiago A. Corrêa wrote:
>>    I was able to get the code to work back again by adding a timeout
>> to the socket before passing on the stream to NutHttpProcessRequest,
>> but then it always takes a timeout to finish loading cgi's and asp's.
>> Not to mention that it requires code change on existing applications.
> 
> I stumbled over this issue myself some time ago. As stated several times 
> in this list, my knowledge about HTTP is limited. Anyone else knows, how 
> the HTTP daemon should handle keep-alive connections?

I found the following (old) document
http://httpd.apache.org/docs/1.3/keepalive.html

I can confirm, that the problem appears with browsers running on 
Windows, even with the latest Firefox release.

Looks like Thiago's suggestion, disabling keep-alive on scripts, is the 
right way to go.

Harald



More information about the En-Nut-Discussion mailing list