Re: How to buffer a POST request

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 11 Jun 2008 11:45:19 +0200

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.

How big are these requests that you need to buffer?

Regards
Henrik

Received on Wed Jun 11 2008 - 09:45:25 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 11 2008 - 12:00:05 MDT