Browse Source

[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
personal/stbuehler/mod-csrf
Glenn Strauss 5 years ago
parent
commit
ee40397fa5
  1. 1
      src/network.c

1
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);

Loading…
Cancel
Save