https://bz.apache.org/bugzilla/show_bug.cgi?id=65159

--- Comment #1 from Christophe JAILLET <christophe.jail...@wanadoo.fr> ---
Created attachment 37749
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37749&action=edit
Alternative patch

Hi,

Your patch LGTM, with the limitation you mention.
I've not seen any "simple" workaround.


Attached is a variation which uses the APR functions in order to store some
data (i.e. the counter) on a thread basis.

It also:
 - removes some useless htons/ntohs conversion
 - reduce the time window when duplicate can be generated if we can not store
the counter value in each thread
 - axe some old comments

Tested with the test framework.
There could be a slight performance penalty because it adds an additional hash
table lookup.


Comments welcomed!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to