Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 20:19:43 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, Alfred Perlstein <alfred@freebsd.org>
Subject:   Re: "global" TCP_NODELAY?
Message-ID:  <9bbcef730910121119r3f7809dfo23c5f2ecdf7b289c@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.0910121914120.80615@fledge.watson.org>
References:  <hav3qp$n7n$1@ger.gmane.org> <20091012152248.GJ79298@elvis.mu.org> <9bbcef730910121028q7185cb47sd5780fbb0b8f59ad@mail.gmail.com>  <alpine.BSF.2.00.0910121914120.80615@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/10/12 Robert Watson <rwatson@freebsd.org>:

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bbcef730910121119r3f7809dfo23c5f2ecdf7b289c>