On Tuesday 09 September 2003 22.21, J.Smith wrote: > Is Squid capable of doing 'TCP Connection Splicing ?', or does it > have support for this on the platforms that provide this as a > kernel service (like AIX 5.2) ?
Squid does application level splicing with multiple receivers (one or more clients + cache) per server connection. It does not use any kernel level splicing primitives. Lower level splicing would not make much sense in Squid as Squid need access to the data itself for caching and for a large portion of the traffic (headers) it needs to modify the content before it is forwarded. And when moving to HTTP/1.1 even less so due to the nature of the protocol (transfer-encoding etc). If Squid was just a plain dumb proxy then splicing as described in these papers would make a better fit. Today only the CONNECT method is a good fit, but only of the splice primitive includes accounting allowing the session to be logged correctly and works with non-blocking sockets. Regards Henrik
