Re: How does http_find_header() work?

From: Roy Smith <roy#s7labs.com>
Date: Sun, 27 Mar 2011 21:28:15 -0400


Thanks! Looks like "capture request header" does exactly what I want.

Well, mostly. This gets me logging if the header exists. Now I need to figure out how to insert the header if it doesn't (taking us back to the conversation we had in January).

On Mar 27, 2011, at 2:22 PM, Willy Tarreau wrote:

> If you need to log some request data, you have to do that during the request
> processing, and copy them somewhere in the session. You should probably use
> the header capture for that, they'll do that for free. Alternatively, you may
> add a fixed size string to the session struct and use it for your needs.

--
Roy Smith
roy.smith#s7labs.com
Received on 2011/03/28 03:28

This archive was generated by hypermail 2.2.0 : 2011/03/28 03:30 CEST