Remove MG_IO_RESET

This commit is contained in:
cpq committed 2026-05-27 15:23:56 +01:00
1 parent a29a8ada40
commit 4bc755045e
6 files changed
+82 -84

No files matched your search

+1 -1
View File
@@ -37,6 +37,6 @@ void mg_tls_ctx_free(struct mg_mgr *);
#define MG_IS_DER(buf) (((uint8_t *) (buf))[0] == 0x30) // DER begins with 0x30
// Low-level IO primives used by TLS layer
enum { MG_IO_ERR = -1, MG_IO_WAIT = -2, MG_IO_RESET = -3 };
enum { MG_IO_ERR = -1, MG_IO_WAIT = -2 };
long mg_io_send(struct mg_connection *c, const void *buf, size_t len);
long mg_io_recv(struct mg_connection *c, void *buf, size_t len);