Add Void::Net — HTTP client + URL parser + SOCKS5/CONNECT proxies

New SHARED module built on Boost.Beast/Asio + OpenSSL (all generic, no
application coupling):
- Void::Net::Url — RFC 3986 parse into scheme/host/port/path/query/target
  (Boost.URL), with scheme-default ports and TLS detection.
- Void::Net::HttpClient — synchronous GET/POST/send with TLS (SNI),
  configurable User-Agent and TLS verification, request/response types.
- Proxy support: HTTP CONNECT tunnelling for TLS targets, plain-HTTP
  forwarding, and a full SOCKS5 handshake (auth, IPv4/IPv6/domain).
- Reuses Void::Encoding::Base64 for proxy auth.

Build wiring: Dependencies.cmake resolves Boost (headers + url) and OpenSSL
+ Threads via find_package (system Boost/OpenSSL). Tests cover URL parsing
and live localhost HTTP GET/POST round-trips (full suite 1136 pass).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Opus 4.8 committed 2026-06-22 16:21:08 +03:00
1 parent fb0506581f
commit c92dff6ff7
8 files changed
+718 -5

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
void_add_module(Net
INTERNAL_DEPS Functional Text
EXTERNAL_DEPS
Boost::headers
Boost::url
OpenSSL::SSL
OpenSSL::Crypto
Threads::Threads
)