summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch b/www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch
new file mode 100644
index 0000000..e9388a3
--- /dev/null
+++ b/www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch
@@ -0,0 +1,12 @@
+--- src/network.c.orig 2009-10-17 00:03:44.000000000 +0200
++++ src/network.c 2010-03-25 23:09:56.000000000 +0100
+@@ -82,6 +82,9 @@
+ buffer_copy_string(con->tlsext_server_name, servername);
+ buffer_to_lower(con->tlsext_server_name);
+
++ /* Sometimes this is still set, confusing COMP_HTTP_HOST */
++ buffer_reset(con->uri.authority);
++
+ config_cond_cache_reset(srv, con);
+ config_setup_connection(srv, con);
+