doc(tls): improve MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET documentation - #10909
Open
mmustafasenoglu wants to merge 1 commit into
Open
doc(tls): improve MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET documentation#10909mmustafasenoglu wants to merge 1 commit into
mmustafasenoglu wants to merge 1 commit into
Conversation
Contributor
|
Unfortunately, we can't accept contributions without a developer certificate of origin. If you accept the contents of |
The previous documentation was minimal and did not explain that this is an informational return code rather than a fatal error. Update the doxygen comment to clearly state that it is not a fatal error, the connection is still usable, and the caller may continue calling the same function. Also add return documentation for this error code to mbedtls_ssl_handshake(), mbedtls_ssl_read(), and mbedtls_ssl_write(), and update their warning sections to list it among non-fatal codes. Closes Mbed-TLS#10578 Signed-off-by: Mustafa Senoglu <mmustafasenoglu0@gmail.com>
mmustafasenoglu
force-pushed
the
fix/doc-new-session-ticket-error
branch
from
August 22, 2026 07:55
81d6296 to
1b666a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10578
The previous documentation for
MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKETwas minimal (two lines) and did not explain that this is an informational return code rather than a fatal error. After upgrading to mbedtls 4, users see this new error and the docs just say it is experimental.This PR:
\returndocumentation for this error code tombedtls_ssl_handshake(),mbedtls_ssl_read(), andmbedtls_ssl_write()\warningsections of these functions to list it among non-fatal return codes