RetroArch/libretro-common
Eric Warmenhoven d2eb49ccbc
net_http refactor (#17460)
* net_http: refactor net_http_new

The goal is to move calls to getaddrinfo() and connect() into
net_http_update(). This will make it possible for them to be replaced
with non-blocking alternatives later.

The net_http calling pattern right now allows callers to create the
http_connection_t, call net_http_new() which creates the http_t from
the http_connection_t, free the http_connection_t, and then start
calling net_http_update(). In order to preserve that, the http_t needs
to copy the values out of the http_connection_t on create. This also
preserves the http_connection_t values instead of freeing them, so the
connection would be able to be used later.

* net_http: implement dns cache

* net_http: separate out address resolution, connect, and request send

* net_http: perform getaddrinfo on separate thread

* net_http: implement basic connection pool

* net_http: refactor receive calls to read faster, do fewer reallocs

* net_http: build fix for platforms without SSL

* net_http: build fix for non-griffin builds

* net_http: build fix for non-threaded platforms
2025-01-23 01:29:47 +01:00
..
2025-01-17 13:10:17 +01:00
2025-01-21 00:17:18 +01:00
2023-05-30 19:34:55 +02:00
2020-01-31 15:43:42 +01:00
2025-01-19 23:57:15 +01:00
2025-01-21 00:17:18 +01:00
2024-07-20 17:54:44 +02:00
2025-01-18 01:48:33 +01:00
2025-01-23 01:29:47 +01:00
2024-12-18 23:00:50 +01:00
2025-01-19 22:15:34 +01:00
2024-12-27 05:51:33 +01:00
2024-07-20 17:54:44 +02:00
2023-01-09 00:51:05 +01:00
2020-12-13 21:21:21 +01:00