]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix use of StateDir directive after r1852982:
authorJoe Orton <jorton@apache.org>
Thu, 18 Apr 2019 10:25:33 +0000 (10:25 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 18 Apr 2019 10:25:33 +0000 (10:25 +0000)
commit835b74a4d080471c4cca9432e1482ee6c2b524dd
tree6972153c02be1cc5dbe65fb071c9d11361638649
parentb7fedf3aa37da0a18b44fc452ba1a48c554513ae
Fix use of StateDir directive after r1852982:

* server/core.c (reset_config): Rename from reset_config_defines;
  tie core_state_dir to pconf lifetime in this cleanup.
  (core_pre_config): Adjust accordingly.

* modules/md/mod_md_config.c (md_config_post_config): Pick up base_dir
  from statedir in post-config phase so StateDir can influence it.

* modules/dav/fs/mod_dav_fs.c (dav_fs_create_server_config): Don't
  init lockdb_path here.  (dav_fs_post_config): New function; set
  lockdb_path based on configured statedir.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1857731 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/fs/mod_dav_fs.c
modules/md/mod_md_config.c
server/core.c