1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

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:
Fabio Alessandrelli
2019-07-01 09:15:35 +02:00
parent 89d537767e
commit 2eac1a64f7
2 changed files with 3 additions and 6 deletions

View File

@@ -88,8 +88,6 @@ private:
int redirections;
HTTPClient::Status status;
bool _update_connection();
int max_redirects;