gnutls_record_...early_data_size(3)
π gnutls_record_get_max_early_data_size(3) π
okay bestie, welcome to section 3 of the gnutls manual β this one's about gnutls_record_...early_data_size, and yes the title really is written all cute with the dots like that, i don't make the rules π
β¨ NAME β¨
gnutls_record_get_max_early_data_size β it's an API function, periodt π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
size_t gnutls_record_get_max_early_data_size(gnutls_session_t session);
look at that signature. clean. iconic. no notes π₯
πΈ ARGUMENTS πΈ
gnutls_session_t sessionβ bestie this is literally just agnutls_session_ttype. that's the whole vibe. it's your session, hand it over π«Ά
π DESCRIPTION π
so like, this function returns the maximum early data size in this connection. that's it, that's the tea β
BUT here's the important part, don't skip it: this property can only be set to servers. the client?? the client doesn't get to set it directly β it gets handed the maximum allowed size through the "early_data" extension of the NewSessionTicket handshake message. so the server's the one holding the keys to this particular kingdom π
β RETURNS β
the maximum early data size in this connection. that's the whole return value. slay β¨
π SINCE π
3.6.5 β she's been around a minute, lowkey a legend π§
π REPORTING BUGS π
found a bug?? not me manifesting that but okay β report bugs to <bugs@gnutls.org>.
home page: https://www.gnutls.org
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. so like, share it, remix it, just keep the receipts, no cap π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
ngl if you made it this far you're genuinely the main character of reading manpages. go touch some grass and then come back, the early data will still be there πΈπ¦
gnutls version 3.8.13 β that's the source + version info btw, and this whole thing lives in the gnutls_record_...early_data_size(3) page. mwah, bye bestie π
β¨
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms