mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 03:05:40 +00: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 ) );
|
(unsigned) hs->buffering.total_bytes_buffered ) );
|
||||||
goto exit;
|
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
|
/* We don't have enough space to buffer the next expected
|
||||||
* handshake message. Remove buffers used for future msgs
|
* handshake message. Remove buffers used for future msgs
|
||||||
|
|
Loading…
Reference in a new issue