Skip to content
Discussion options

You must be logged in to vote

I think this might be a limitation in the mbed TLS itself, the mbedtls_ssl_write() documentation says:

 * \note When this function returns #MBEDTLS_ERR_SSL_WANT_WRITE/READ, * it must be called later with the *same* arguments, * until it returns a value greater than or equal to 0. When * the function returns #MBEDTLS_ERR_SSL_WANT_WRITE there may be * some partial data in the output buffer, however this is not * yet sent.

This basically means, that if a socket returns EAGAIN (when the socket is non-blocking or timeout has been configured), the next call from the application should contatin the sam…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mayankpatel-cell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants