refactor: network - harden TCP/IP and unify HTTP clients

This commit is contained in:
daniel committed 2026-07-29 15:35:17 +01:00
1 parent 75ae7ede56
commit a288dee7df
28 files changed
+1852 -1361

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ struct TrustAnchors {
};
TrustAnchors load_trust_anchors();
void free_trust_anchors(TrustAnchors* tas);
void get_bearssl_time(uint32_t* days, uint32_t* seconds);
int tls_send_all(int fd, const unsigned char* data, size_t len);
int tls_recv_some(int fd, unsigned char* buf, size_t maxlen);