mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Split ssl_set_read_timeout() out of bio_timeout()
This commit is contained in:
parent
cc3195e81f
commit
97fd52c529
13 changed files with 39 additions and 26 deletions
|
|
@ -197,7 +197,7 @@ static void *handle_ssl_connection( void *data )
|
|||
|
||||
mbedtls_printf( " [ #%d ] ok\n", thread_id );
|
||||
|
||||
mbedtls_ssl_set_bio_timeout( &ssl, &client_fd, mbedtls_net_send, mbedtls_net_recv, NULL, 0 );
|
||||
mbedtls_ssl_set_bio_timeout( &ssl, &client_fd, mbedtls_net_send, mbedtls_net_recv, NULL );
|
||||
|
||||
mbedtls_printf( " [ #%d ] ok\n", thread_id );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue