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

Bug#639825: Apache2 seek broken



2011/9/2 Julien Cristau <jcristau@debian.org>:
> 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...
>

I just noticed Stefan's fix in the FFmpeg GIT repository, so that's even better:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=346ea9e22240b4442f479518f6c3b40c9bec9487


With friendly regards,
Takis



Reply to: