summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-10-18 12:46:11 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2016-10-18 12:46:11 -0400
commitee40397fa508311a6f78aa6f560db64d7f06ec75 (patch)
tree27c2991a86471bb277fa013eba8790c1a3e42c9b /src/network.c
parentbad5f68ade376205511264edc0ef65ebfade7a72 (diff)
downloadlighttpd1.4-ee40397fa508311a6f78aa6f560db64d7f06ec75.tar.gz
lighttpd1.4-ee40397fa508311a6f78aa6f560db64d7f06ec75.zip
[TLS] remote IP conditions are valid for TLS SNI (fixes #2272)
x-ref: "To allow different ssl.pemfile settings for different $HTTP["remoteip"]" https://redmine.lighttpd.net/issues/2272
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index 3bfaebd2..fa06d6a7 100644
--- a/src/network.c
+++ b/src/network.c
@@ -122,6 +122,7 @@ static int network_ssl_servername_callback(SSL *ssl, int *al, server *srv) {
config_setup_connection(srv, con);
con->conditional_is_valid[COMP_SERVER_SOCKET] = 1;
+ con->conditional_is_valid[COMP_HTTP_REMOTE_IP] = 1;
con->conditional_is_valid[COMP_HTTP_SCHEME] = 1;
con->conditional_is_valid[COMP_HTTP_HOST] = 1;
config_patch_connection(srv, con);