[vlc-devel] [PATCH 2/2] access/udp: Define MSG_TRUNC on recv call

Ilkka Ollakka 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.

Ilkka Ollakka
Elbonics, n.:
	The actions of two people maneuvering for one armrest in a movie
		-- "Sniglets", Rich Hall & Friends
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181015/5b7b50ac/attachment.sig>

More information about the vlc-devel mailing list