diff --git a/src/Http/HttpClient.h b/src/Http/HttpClient.h index 6fb4967d..01ac795a 100644 --- a/src/Http/HttpClient.h +++ b/src/Http/HttpClient.h @@ -188,6 +188,7 @@ private: Ticker _recv_timeout_ticker; Ticker _total_timeout_ticker; float _timeout_second = 0; + float _recv_timeout_second = 0; //recv size_t _recved_body_size; diff --git a/src/Http/TsPlayer.cpp b/src/Http/TsPlayer.cpp index 863d7400..2ea040b1 100644 --- a/src/Http/TsPlayer.cpp +++ b/src/Http/TsPlayer.cpp @@ -34,7 +34,6 @@ void TsPlayer::playTs() { return; } WarnL << "fetch:" << _ts_url; - _request_complete = false; weak_ptr weak_self = dynamic_pointer_cast(shared_from_this()); setMethod("GET"); sendRequest(_ts_url, 3600 * 2, 60);