summaryrefslogtreecommitdiffstats
path: root/core/io/http_client_tcp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Allow ClassDB to create a Object without postinitialization for GDExtension.Daylily-Zeleen2024-08-201-3/+3
|
* [TLS] Fix crashes trying to use TLS when not available.Fabio Alessandrelli2023-05-121-0/+1
| | | | | | | | | If no StreamPeerTLS implementation is available, HTTPClient and WebSocketPeer will now correctly refuse to connect using TLS returning ERR_UNAVAILABLE. Similarly, ENetConnection will refuse to setup DTLS when PacketPeerDTLS is not available.
* [Net] Remove StreamPeerTLS.blocking_handshake option.Fabio Alessandrelli2023-01-281-1/+0
| | | | | | | | | Which was unused internally, and can be replaced by: ``` while tls.get_status() == tls.STATUS_HANDSHAKING: tls.poll() ```
* [NET] Refactor TLS configuration.Fabio Alessandrelli2023-01-281-15/+17
| | | | | | | | | | | | | Use a TLSOptions configuration object which is created via static functions. - "TLSOptions.client": uses the standard CA and common name verification. - "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified) - "TLSOptions.server": is the standard server configuration (chain + key) This will allow us to expand the TLS configuration options to include e.g. mutual authentication without bloating the classes that uses StreamPeerTLS and PacketPeerDTLS as underlying peers.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-10/+10
| | | | change warnings=all to use /W4.
* [Net] Rename "ssl" references to "tls" in methods and members.Fabio Alessandrelli2022-09-081-28/+28
|
* Merge pull request #65447 from Faless/net/4.x_ssl_to_tlsRémi Verschelde2022-09-071-11/+11
|\ | | | | | | [Net] Rename StreamPeerSSL to StreamPeerTLS.
| * [Net] Rename StreamPeerSSL to StreamPeerTLS.Fabio Alessandrelli2022-09-071-11/+11
| | | | | | | | SSL has been deprectated almost 10 years ago.
* | Prevent HTTPRequest from polling invalid clientMicky2022-09-061-0/+4
|/
* [Web] Rename JavaScript platform to Web.Fabio Alessandrelli2022-08-291-2/+2
| | | | Also rename export name from "HTML5" to "Web".
* [Net] Make StreamPeerTCP::_poll_connection explicit.Fabio Alessandrelli2022-03-271-0/+3
| | | | | | No longer hacked into `get_status` and renamed to `poll`. The old `poll` (for *nix `poll`, win `select`) is now called `wait`.
* Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-1/+1
|
* [Net] Non-blocking request in HTTPClientTCP.Fabio Alessandrelli2022-02-031-12/+30
| | | | HTTPClientJavaScript already supports non-blocking requests.
* Verify custom HTTP headers, fix off by one errorMax Hilbrunner2022-01-271-0/+5
|
* HTTP comment cleanupMax Hilbrunner2022-01-271-23/+22
|
* [Net] Fix get_response_body_length for large files.Fabio Alessandrelli2022-01-231-1/+1
| | | | Parsing was fixed, but not the return value for the exposed getter.
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Adds proxy support for HTTPClientHaoyu Qiu2021-11-241-7/+86
| | | | Also fixed a potential infinite loop when connecting to server.
* Try other resolved IPs if one fails to connectHaoyu Qiu2021-08-301-3/+23
|
* Fix unicode invalid skip error in AssetLibHaoyu Qiu2021-07-111-0/+1
|
* [Net] Makes HTTPClient a custom instance class.Fabio Alessandrelli2021-06-231-0/+666