[gnutls-devel] GnuTLS | ext/record_size_limit: add function to get record_size_limit (!1989)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Jul 21 04:28:54 CEST 2025




Wilfred Mallawa commented on a discussion on lib/ext/record_size_limit.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1989#note_2640197789

 > +
 > +/**
 > + * gnutls_record_get_record_size_limit:
 > + * @session: is a #gnutls_session_t type.
 > + * @size: is the new size
 > + *
 > + * Get the max record send size. The maximum record send size is
 > + * advertised by the server during a handshake.
 > + *
 > + * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
 > + *   If the server record size limit is not specified an error
 > + *   is returned.
 > + *
 > + * Since: 3.8.10
 > + **/
 > +int gnutls_record_get_record_size_limit(gnutls_session_t session, size_t *size)

@dueno thanks for the suggestions! I have applied those changes. Let me know if you have any further thoughts on this.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1989#note_2640197789
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250721/902eab94/attachment.html>


More information about the Gnutls-devel mailing list