We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354f535 commit 58d1222Copy full SHA for 58d1222
src/AsyncTCP_TLS_Context.h
@@ -14,7 +14,8 @@
14
#include "mbedtls/ctr_drbg.h"
15
#include "mbedtls/error.h"
16
17
-#define ASYNCTCP_TLS_CAN_RETRY(r) (((r) == MBEDTLS_ERR_SSL_WANT_READ) || ((r) == MBEDTLS_ERR_SSL_WANT_WRITE))
+#define ASYNCTCP_TLS_CAN_RETRY(r) (((r) == MBEDTLS_ERR_SSL_WANT_READ) || ((r) == MBEDTLS_ERR_SSL_WANT_WRITE))
18
+#define ASYNCTCP_TLS_EOF(r) (((r) == MBEDTLS_ERR_SSL_CONN_EOF) || ((r) == MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY))
19
20
class AsyncTCP_TLS_Context
21
{
@@ -39,8 +40,6 @@ class AsyncTCP_TLS_Context
39
40
41
int _socket;
42
-
43
44
// Delete certificates used in handshake
45
void _deleteHandshakeCerts(void);
46
public:
0 commit comments