You've already forked godot
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:
@@ -88,8 +88,6 @@ private:
|
||||
|
||||
int redirections;
|
||||
|
||||
HTTPClient::Status status;
|
||||
|
||||
bool _update_connection();
|
||||
|
||||
int max_redirects;
|
||||
|
||||
Reference in New Issue
Block a user