Fix HTTPRequest status checks.
HTTPRequest used to have its own `status` variable but it would never be updated since the status of the client would be used instead. This caused potential crashes in some edge cases. The `status` variable is now removed, and the client status is used in checks instead.
This commit is contained in:
parent
89d537767e
commit
2eac1a64f7
2 changed files with 3 additions and 6 deletions
|
|
@ -88,8 +88,6 @@ private:
|
|||
|
||||
int redirections;
|
||||
|
||||
HTTPClient::Status status;
|
||||
|
||||
bool _update_connection();
|
||||
|
||||
int max_redirects;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue