2011/9/2 Julien Cristau <[email protected]>: > 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 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAAzprXT_kJ1XVzCGvfmeQ6XoCWa7D=Q5=g6udq59ayt_mte...@mail.gmail.com

