[vlc-devel] [PATCH 2/2] network: tls: Handle errors from older kernels

Rémi Denis-Courmont remi at remlab.net
Fri Mar 29 15:57:15 CET 2019


I mean a race on the network side, not the application.

Le 29 mars 2019 15:31:34 GMT+02:00, "Hugo Beauzée-Luyssen" <hugo at beauzee.fr> a écrit :
>On Fri, Mar 29, 2019, at 2:04 PM, Rémi Denis-Courmont wrote:
>> It sounds to me that this relies on a race condition (to not occur) ?
>> 
>
>As far as I can see the documentation mentions that it's the caller
>responsibility to have a thread performing a send before a recv if fast
>open is used.
>Regarding send, AFAICS the current code assumes a single sender thread,
>since the vlc_tls_operations pointer is updated non-atomically in
>vlc_tls_ConnectWrite
>
>-- 
>  Hugo Beauzée-Luyssen
>  hugo at beauzee.fr
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190329/e6dfd0bd/attachment.html>


More information about the vlc-devel mailing list