aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-22 08:53:14 +0000
committerOmar Polo <op@omarpolo.com>2021-02-23 13:43:24 +0100
commit793835cb26c39202133c754fb33f8909ebf8fb92 (patch)
tree4e9bdaa9a6d1d035e6c3bb004ba504a8271db0fd /gmid.h
parentfd9a4869253110c96e94b4705d4c3604f4d28ce7 (diff)
add `log on/off' to enable/disable logs per-location
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gmid.h b/gmid.h
index 2a5b6be..454ddd3 100644
--- a/gmid.h
+++ b/gmid.h
@@ -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);