Actions
Bug #1870
closedTCP connection hangs when client stops receving data
ASK QUESTIONS IN Forums:
Description
Hi All,
I am using lighttpd version 1.5.0. I have created a module in lighttpd which using chunkqueue_append_mem to send data to the client. The problem i am facing is that sometimes the client hangs as a result the TCP connection remains but it is not receving any data. In this case the network_write_chunkqueue returns NETWORK_STATUS_WAIT_FOR_EVENT and keeps on trying to push the data but never terminates the connection.
Shouldn't there be some kind of a timeout value to this so that if after sometime no data has been sent to the client, the TCP connection should be terminated from the lighty's end.
Actions
Also available in: Atom