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

Ilkka Ollakka ileoo at videolan.org
Mon Oct 15 17:47:09 CEST 2018


On Mon, Oct 15, 2018 at 05:32:51PM +0200, Francois Cartegnie wrote:
> Le 15/10/2018 à 17:23, Ilkka Ollakka a écrit :

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

> I don't see how to fix both issues without realloc/memcpy or using a
> block with shared backend buffer

I'll tinker a patch tonight for one approach that most likely works in most of
the cases, or atleast I think it might work, and send it for
opinions/testing.

-- 
Ilkka Ollakka
May you do Good Magic with Perl.
		-- Larry Wall's blessing
-------------- 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/73721025/attachment.sig>


More information about the vlc-devel mailing list