fix IO_WAIT on send for builtin TLS and MbedTLS

This commit is contained in:
Sergio R. Caprile committed 2025-03-11 16:14:12 -03:00
1 parent 4eadf3699f
commit c1849c2b19
6 files changed
+142 -96

No files matched your search

+3
View File
@@ -27,5 +27,8 @@ struct mg_tls {
#ifdef MBEDTLS_SSL_SESSION_TICKETS
mbedtls_ssl_ticket_context ticket; // Session tickets context
#endif
// https://github.com/Mbed-TLS/mbedtls/blob/3b3c652d/include/mbedtls/ssl.h#L5071C18-L5076C29
unsigned char *throttled_buf; // see #3074
size_t throttled_len;
};
#endif