Update http.c

This commit is contained in:
mmmdbybyd
2018-11-24 14:33:07 +08:00
committed by GitHub
parent f81dd807ea
commit fa8ad6926a

2
http.c
View File

@@ -491,7 +491,7 @@ void tcp_in(conn_t *in)
{
//如果是CONNECT代理HTTP,需要重新获取host
char *save_host;
host = get_host(in->incomplete_data)
host = get_host(in->incomplete_data);
if (!host)
host = save_host;
else