]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Set ap_server_conf ASAP.
authorYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 15:48:41 +0000 (15:48 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 14 Mar 2023 15:48:41 +0000 (15:48 +0000)
commitfeb15a2eb57e28d896b27a83c0e80f079a8ea509
tree7753a37623233ee7e50a2a4cd07568bfb501d511
parentd51326e797fcf61fedecfa5126bf56723a36967a
core: Set ap_server_conf ASAP.

* server/config.c(ap_read_config):
  Set ap_server_conf as soon as it exists (with defaults).

* server/main.c(main):
  Now that ap_server_conf is set by ap_read_config(), just make
  sure it's not NULL afterward with an ap_assert()ion.

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