diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-30 18:25:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-30 18:43:33 +0200 |
commit | 9f40e8f91ec6475308c265ea37b25033f616ce48 (patch) | |
tree | 9dcc4b8d87db637600435a7fda2beae628ce69ad /uhttpd.h | |
parent | 618493e378e2239f0d30902e47adfa134e649fdc (diff) |
add support for enforcing HTTPS
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,7 @@ struct config { int no_dirlists; int network_timeout; int rfc1918_filter; + int tls_redirect; int tcp_keepalive; int max_script_requests; int max_connections; @@ -267,6 +268,8 @@ void uh_unblock_listeners(void); void uh_setup_listeners(void); int uh_socket_bind(const char *host, const char *port, bool tls); +int uh_first_tls_port(int family); + bool uh_use_chunked(struct client *cl); void uh_chunk_write(struct client *cl, const void *data, int len); void uh_chunk_vprintf(struct client *cl, const char *format, va_list arg); |