Hi Roy,

On Sat, Jan 22, 2011 at 05:26:12PM -0500, Roy Smith wrote:
> Is there a way to have haproxy generate (and log) a unique ID for every 
> incoming request, and add that ID as a header line to each outgoing proxied 
> request, i.e. something like:
> 
> X-Unique-ID: 12345ABCDE
> 
> It doesn't matter much what the identifier is, as long as it's unique and 
> logged.  The idea here is to be able to correlate log entries from all the 
> various moving pieces that are involved in responding to a request.

I agree. We've had this in the TODO list since version 1.1 :

  - insert/learn/check/log unique request ID, and add the ability
    to block bad responses.

But now we've planned to work on it at Exceliance. We need to make it
configurable enough so that it can handle various users' needs.

Regards,
Willy


Reply via email to