"global" TCP_NODELAY?

Ivan Voras ivoras at freebsd.org
Mon Oct 12 18:21:15 UTC 2009


2009/10/12 Robert Watson <rwatson at freebsd.org>:

> Create a libc wrapper that calls setsockopt(2) whenever socket(2) is called
> to create a TCP socket in php, and inject it using LD_PRELOAD.  This is a
> similar trick to what things like socks proxy library wrappers use, is easy
> to hack together, and avoids having to modify the kernel.

This is actually the sanest idea I've yet come across, including
modifying PHP :)


More information about the freebsd-hackers mailing list