Re: haproxy duplicate http_request_counter values (BUG)

2013-08-31 Thread Willy Tarreau
Hi guys, On Wed, Aug 28, 2013 at 04:41:57PM +0200, William Lallemand wrote: On Tue, Aug 20, 2013 at 04:14:05PM -0400, Patrick Hemmer wrote: I see 2 ways of handling this. 1) Move the code that populates the session unique_id member to http_process_req_common (or to http_wait_for_request

Re: haproxy duplicate http_request_counter values (BUG)

2013-08-28 Thread William Lallemand
On Tue, Aug 20, 2013 at 04:14:05PM -0400, Patrick Hemmer wrote: I see 2 ways of handling this. 1) Move the code that populates the session unique_id member to http_process_req_common (or to http_wait_for_request where it's allocated). This will let requests terminated by an `errorfile`

Re: haproxy duplicate http_request_counter values (BUG)

2013-08-13 Thread Patrick Hemmer
On 2013/08/11 15:45, Patrick Hemmer wrote: I'm using the %rt field in the unique-id-format config parameter (the full value is %{+X}o%pid-%rt), and am getting lots of duplicates. In one specific case, haproxy added the same http_request_counter value to 70 different http requests within a

Re: haproxy duplicate http_request_counter values (BUG)

2013-08-13 Thread haproxy
Oh, for some reason my mail client wasn't showing the response from Willy when I made this reply. Not sure if this info is really necessary any more. Will try the patch on that email and report back to it. -Patrick On 08/13/2013 07:13 PM, Patrick Hemmer wrote: On 2013/08/11 15:45, Patrick