From 9f1299e721d75faee7fe3c3de15416629ab78226 Mon Sep 17 00:00:00 2001 From: mmmdbybyd <915445800@qq.com> Date: Sat, 24 Nov 2018 15:05:46 +0800 Subject: [PATCH] Add files via upload --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index c7b1678..a229a16 100644 --- a/http.c +++ b/http.c @@ -490,7 +490,7 @@ void tcp_in(conn_t *in) else { //如果是CONNECT代理HTTP,需要重新获取host - char *save_host; + char *save_host = host; host = get_host(in->incomplete_data); if (!host) host = save_host;