mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
修复302跳转时, 如果跨域,header不正确的问题 (#1349)
This commit is contained in:
parent
f4d8eb4515
commit
741b197f31
@ -104,6 +104,7 @@ void HttpClient::clearResponse() {
|
|||||||
_recved_body_size = 0;
|
_recved_body_size = 0;
|
||||||
_total_body_size = 0;
|
_total_body_size = 0;
|
||||||
_parser.Clear();
|
_parser.Clear();
|
||||||
|
_header.clear();
|
||||||
_chunked_splitter = nullptr;
|
_chunked_splitter = nullptr;
|
||||||
_recv_timeout_ticker.resetTime();
|
_recv_timeout_ticker.resetTime();
|
||||||
_total_timeout_ticker.resetTime();
|
_total_timeout_ticker.resetTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user