summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files/1.4.25-fix-multiple-ssl.patch
blob: e9388a32c9327fbec69ee2aa17e2f8354de61b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
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);