mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 08:10:11 +00:00
[meshcop] allow MBEDTLS_ERR_SSL_WANT_WRITE from mbedtls_ssl_write() (#2906)
* increase message buffers to pass meshcop check
This commit is contained in:
@@ -516,6 +516,7 @@ otError Dtls::MapError(int rval)
|
||||
break;
|
||||
|
||||
case MBEDTLS_ERR_SSL_ALLOC_FAILED:
|
||||
case MBEDTLS_ERR_SSL_WANT_WRITE:
|
||||
error = OT_ERROR_NO_BUFS;
|
||||
break;
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
*
|
||||
*/
|
||||
#ifndef OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS
|
||||
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 40
|
||||
#define OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS 44
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user