On 18/05/15 13:55, John Högberg wrote:
Luca Barbato wrote:
In Gentoo the suggested setting is
#net.core.rmem_max = 4194304 #net.core.wmem_max = 1048576
And checking around seems that there are people suggesting
something even larger.
On MacOSX it seems working fine.
If I recall correctly setting something larger that the os limit
won't make the call fail so this patch shouldn't hurt even for
those setup, right?
Worse; it will make the call fail silently. The only way to be sure
you've set it correctly is to getsockopt() and check if the value is
what you requested. :|
So what's the best course of action?
- Bump the size to be twice as big instead of 5 times
- Set the option twice
- Something else completely different
Ignoring the issue is not an option =)
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel