[libav-devel] [PATCH] no infinite wait on remote host disconnect

2011-04-26 Thread Gil Pedersen
Attached patch will allow ff_network_wait_fd() to return when the fd encounters an error or disconnection (HUP). Once returned, the next read/write call on the fd will result in an error and possibly a signal, which should provide better feedback than the current method of waiting indefinitely.

Re: [libav-devel] [PATCH] no infinite wait on remote host disconnect

2011-04-26 Thread Andrea Crotti
Gil Pedersen writes: > Attached patch will allow ff_network_wait_fd() to return when the fd > encounters an error or disconnection (HUP). Once returned, the next > read/write call on the fd will result in an error and possibly a > signal, which should provide better feedback than the current meth

Re: [libav-devel] [PATCH] no infinite wait on remote host disconnect

2011-04-26 Thread Martin Storsjö
On Tue, 26 Apr 2011, Gil Pedersen wrote: > Attached patch will allow ff_network_wait_fd() to return when the fd > encounters an error or disconnection (HUP). Once returned, the next > read/write call on the fd will result in an error and possibly a signal, > which should provide better feedback

Re: [libav-devel] [PATCH] no infinite wait on remote host disconnect

2011-04-28 Thread Martin Storsjö
On Tue, 26 Apr 2011, Martin Storsjö wrote: > On Tue, 26 Apr 2011, Gil Pedersen wrote: > > > Attached patch will allow ff_network_wait_fd() to return when the fd > > encounters an error or disconnection (HUP). Once returned, the next > > read/write call on the fd will result in an error and poss