[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#639825: Apache2 seek broken



On Wed, Aug 31, 2011 at 16:03:47 +0200, Takis Issaris wrote:

[...]
> Then the log shows these syscalls happening over and over again and it
> doesn't stop until I kill the client.
> poll([{fd=37, events=POLLIN}], 1, 100)  = 1 ([{fd=37, revents=POLLIN}])
> recvfrom(37, "", 32516, 0, NULL, NULL)  = 0
> poll([{fd=37, events=POLLIN}], 1, 100)  = 1 ([{fd=37, revents=POLLIN}])
> recvfrom(37, "", 32516, 0, NULL, NULL)  = 0
> ...
> 
That seems completely broken.  When recvfrom returns 0, it means the
connection has been shutdown on the other end, the client should just
close it at that point, not start an infinite loop...

Cheers,
Julien



Reply to: