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