Add files via upload
This commit is contained in:
parent
b8ddb3bd25
commit
9f1299e721
2
http.c
2
http.c
@ -490,7 +490,7 @@ void tcp_in(conn_t *in)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//如果是CONNECT代理HTTP,需要重新获取host
|
//如果是CONNECT代理HTTP,需要重新获取host
|
||||||
char *save_host;
|
char *save_host = host;
|
||||||
host = get_host(in->incomplete_data);
|
host = get_host(in->incomplete_data);
|
||||||
if (!host)
|
if (!host)
|
||||||
host = save_host;
|
host = save_host;
|
||||||
|
Loading…
Reference in New Issue
Block a user