mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 05:55:36 +00:00
ssl_server2 now dies on SIGTERM during a read
This commit is contained in:
parent
767c69561b
commit
b6440a496b
|
@ -1511,6 +1511,15 @@ int main( int argc, char *argv[] )
|
|||
printf( " ok\n" );
|
||||
|
||||
reset:
|
||||
#if !defined(_WIN32)
|
||||
if( received_sigterm )
|
||||
{
|
||||
printf( " interrupted by SIGTERM\n" );
|
||||
ret = 0;
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef POLARSSL_ERROR_C
|
||||
if( ret != 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue