mbedtls_ssl_get_max_out_record_payload() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

Current maximum payload for an outgoing record, or a negative error code.

Notes

With DTLS, \c mbedtls_ssl_write() will return an error if called with a larger length value. With TLS, \c mbedtls_ssl_write() will fragment the input if necessary and return the number of bytes written; it is up to the caller to call \c mbedtls_ssl_write() again in order to send the remaining bytes if any. This function is not available (always returns an error) when record compression is enabled.

References

from examples