[vlc-devel] [PATCH 2/2] access/udp: Define MSG_TRUNC on recv call
ileoo at videolan.org
Mon Oct 15 17:23:44 CEST 2018
On Mon, Oct 15, 2018 at 04:30:56PM +0200, Francois Cartegnie wrote:
> Le 15/10/2018 à 16:21, Ilkka Ollakka a écrit :
> > recv() needs MSG_TRUNC flag so it will tell actual data-size if truncate
> > would happen additional to setting flag for it.
> There's a regression on UDP since those changes which are supposed to
> workaround buffer/block bloat.
> But I doubt that solves the case of payloads > 1316 on non linux or
> without msg_trunc.
Yes, you are right, it doesn't solve it on linux < 2.2 or non-linux
systems. Do you have such system to test on? I have one idea that should
work in those cases.
The actions of two people maneuvering for one armrest in a movie
-- "Sniglets", Rich Hall & Friends
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the vlc-devel