Henrik Nordstrom wrote: > On tis, 2008-06-10 at 12:40 +0300, Mikko Kettunen wrote: >> How could I configure squid to buffer whole POST-request before sending >> it to peer cache or originserver? > Good question. It isn't really designed to do this. POST request may be > almost unbounded in size, and some streaming over HTTP protocols (i.e. > RSTP over HTTP) relies on it not being buffered..
>> Which functions handle the request buffering? > We don't.. but yes there is a temporary buffer of limited size, used for > buffering request headers and data until it can be sent to the server. Yes, I read something about this on squid-users list, there seems to be 8kB buffer for this if I understood right. > How big are these requests that you need to buffer? They should be around 10-100k, but sometimes they can increase up to one megabyte which is the absolute maximum. This shouldn't be happening too often though. BR, Mikko