]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_unique_id: Follow up to r1892915 and r1893002: Atomic counter.
authorYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 01:52:48 +0000 (01:52 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 01:52:48 +0000 (01:52 +0000)
commitfa99bd5bf667b4ccda57f8294437b43e3d63a949
tree323f677debba7e1087e9ebc420ee347160347486
parent13d3c1926aa73acc85a36c42709070fd2ebb291a
mod_unique_id: Follow up to r1892915 and r1893002: Atomic counter.

* modules/metadata/mod_unique_id.c(gen_unique_id):
  Use an atomic 32bit counter to close the race condition, using the lower
  16 bits for uuencoding still.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893004 13f79535-47bb-0310-9956-ffa450edef68
modules/metadata/mod_unique_id.c