From 1b5e0ee633c9e7b37817f58fb62af6b48a796d5c Mon Sep 17 00:00:00 2001 From: mmmdbybyd <915445800@qq.com> Date: Sat, 24 Nov 2018 13:56:59 +0800 Subject: [PATCH] Add files via upload --- http.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/http.c b/http.c index db04021..2411373 100644 --- a/http.c +++ b/http.c @@ -487,16 +487,6 @@ void tcp_in(conn_t *in) free(host); return; } - else - { - //如果是CONNECT代理HTTP 需要再次获取host - char *host_save = host; - host = get_host(in->incomplete_data); - if (host) - free(host_save); - else - host = host_save; - } } else { @@ -578,4 +568,3 @@ void create_listen(char *ip, int port) -