diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-02-03 01:33:15 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-02-03 02:45:30 +0100 |
commit | ac4fb2996bc54302b8e1cf9b9cc47ae443808b31 (patch) | |
tree | a2fc93ca2c8bcd975b4e1e875b452c943de85a18 /core/io/http_client_tcp.h | |
parent | 6de5bafd2fa7513cf78377b61c2606327b293d44 (diff) |
[Net] Non-blocking request in HTTPClientTCP.
HTTPClientJavaScript already supports non-blocking requests.
Diffstat (limited to 'core/io/http_client_tcp.h')
-rw-r--r-- | core/io/http_client_tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/http_client_tcp.h b/core/io/http_client_tcp.h index f5f4450f73..c10e0b1eca 100644 --- a/core/io/http_client_tcp.h +++ b/core/io/http_client_tcp.h @@ -62,6 +62,7 @@ private: int64_t body_left = 0; bool read_until_eof = false; + Ref<StreamPeerBuffer> request_buffer; Ref<StreamPeerTCP> tcp_connection; Ref<StreamPeer> connection; Ref<HTTPClientTCP> proxy_client; // Negotiate with proxy server. |