diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-22 08:53:14 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-23 13:43:24 +0100 |
commit | 793835cb26c39202133c754fb33f8909ebf8fb92 (patch) | |
tree | 4e9bdaa9a6d1d035e6c3bb004ba504a8271db0fd /gmid.h | |
parent | fd9a4869253110c96e94b4705d4c3604f4d28ce7 (diff) |
add `log on/off' to enable/disable logs per-location
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -66,6 +66,7 @@ struct location { const char *block_fmt; int strip; X509_STORE *reqca; + int disable_log; }; struct vhost { @@ -234,6 +235,7 @@ int vhost_auto_index(struct vhost*, const char*); int vhost_block_return(struct vhost*, const char*, int*, const char**); int vhost_strip(struct vhost*, const char*); X509_STORE *vhost_require_ca(struct vhost*, const char*); +int vhost_disable_log(struct vhost*, const char*); void mark_nonblock(int); void loop(struct tls*, int, int); |