diff options
author | Reyk Floeter <reyk@esdenera.com> | 2015-01-05 11:52:20 +0100 |
---|---|---|
committer | Reyk Floeter <reyk@esdenera.com> | 2015-01-05 11:52:20 +0100 |
commit | 101ee3483346ad2f557a74f7268f9331a383567e (patch) | |
tree | 51e2cd823ce9bc2676b08ea9d6dfa1188fe8ab10 /httpd.h | |
parent | b3c443d887736739b9866fb07958b8a845e48474 (diff) | |
download | httpd-101ee3483346ad2f557a74f7268f9331a383567e.tar.gz httpd-101ee3483346ad2f557a74f7268f9331a383567e.zip |
sync with -current
Diffstat (limited to 'httpd.h')
-rw-r--r-- | httpd.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.h,v 1.65 2015/01/02 19:09:52 reyk Exp $ */ +/* $OpenBSD: httpd.h,v 1.66 2015/01/04 22:23:58 chrisz Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -385,6 +385,7 @@ struct server_config { char *tls_key_file; u_int32_t flags; + int strip; u_int8_t tcpflags; int tcpbufsiz; int tcpbacklog; @@ -524,6 +525,8 @@ int server_response_http(struct client *, u_int, struct media_type *, void server_reset_http(struct client *); void server_close_http(struct client *); int server_response(struct httpd *, struct client *); +const char * + server_root_strip(const char *, int); struct server_config * server_getlocation(struct client *, const char *); const char * |