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