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 a gnutls_session_t type. 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 Β© 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