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

Francois Cartegnie fcvlcdev at free.fr
Mon Oct 15 16:30:56 CEST 2018


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.


> Tested adjustment of MTU by sending data to localhost via netcat:
> 
> cat ~/tmp/myfile.mp3|netcat -u 127.0.0.1 1234-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list