mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 17:54:21 +01:00
Add another debug message to ssl_buffer_message()
Report if there's not enough buffering space available to reassemble the next expected incoming message.
This commit is contained in:
parent
e35670528b
commit
e1801399a9
@ -4533,6 +4533,12 @@ static int ssl_buffer_message( mbedtls_ssl_context *ssl )
|
||||
(unsigned) hs->buffering.total_bytes_buffered ) );
|
||||
goto exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "Buffering of future message of size %u would exceed the compile-time limit %u (already %u bytes buffered) -- attempt to make space by freeing buffered future messages\n",
|
||||
(unsigned) msg_len, MBEDTLS_SSL_DTLS_MAX_BUFFERING,
|
||||
(unsigned) hs->buffering.total_bytes_buffered ) );
|
||||
}
|
||||
|
||||
/* We don't have enough space to buffer the next expected
|
||||
* handshake message. Remove buffers used for future msgs
|
||||
|
Loading…
Reference in New Issue
Block a user