Add files via upload

This commit is contained in:
mmmdbybyd 2018-11-24 15:05:46 +08:00 committed by GitHub
parent b8ddb3bd25
commit 9f1299e721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
http.c
View File

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