]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Set r->request_time before any logging, mod_unique_id needs it.
authorYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 01:09:23 +0000 (01:09 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 01:09:23 +0000 (01:09 +0000)
commit9fdd6a91fbc9550e167369082d32aceca74be7c2
tree9408779b7d1402eb28a01d854f97226d8fef571e
parent47e6ecef2083d7e864541dc7605dece7681c0114
core: Set r->request_time before any logging, mod_unique_id needs it.

* server/protocol.c(read_request_line):
  Move r->request_time initialization before first APLOG_TRACE5,
  ap_log_rerror() may run the generate_log_id hooks and call mod_unique_id
  with no timestamp initialized (zero).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893001 13f79535-47bb-0310-9956-ffa450edef68
server/protocol.c