[vlc-devel] [PATCH] network: io: check virtual sockets own buffers (fix #8972)

Rémi Denis-Courmont remi at remlab.net
Tue Jul 16 11:37:13 CEST 2013


On Tue, 16 Jul 2013 10:48:36 +0200, Francois Cartegnie <fcvlcdev at free.fr>
wrote:
> Le 16/07/2013 10:37, Rémi Denis-Courmont a écrit :
>> VLC socket read is *not* blocking.
>> 
> 
> ??
> gnutls_recv() isn't,

Yes it is.

> but at net_Read() level, we have no idea if vsocket's pf_recv() will be
blocking or not, no ?

pf_recv() cannot block. Many more cases would break if it did.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list