mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/remove_mbedtls_would_block_v32' into 'release/v3.2'
Remove check for would_block in mbedtls (Backport v3.2) See merge request espressif/esp-idf!6397
This commit is contained in:
commit
e98ff1beb7
@ -210,13 +210,6 @@ static int net_would_block( const mbedtls_net_context *ctx, int *errout )
|
||||
*errout = error;
|
||||
}
|
||||
|
||||
/*
|
||||
* Never return 'WOULD BLOCK' on a non-blocking socket
|
||||
*/
|
||||
if ( ( fcntl( ctx->fd, F_GETFL, 0) & O_NONBLOCK ) != O_NONBLOCK ) {
|
||||
return ( 0 );
|
||||
}
|
||||
|
||||
switch ( error ) {
|
||||
#if defined EAGAIN
|
||||
case EAGAIN:
|
||||
|
Loading…
Reference in New Issue
Block a user