gnutls_record_...early_data_size(3)
πΈ gnutls_record_set_max_early_data_size β¨
okay bestie, so this is a page from the gnutls manual, and today's main character is gnutls_record_set_max_early_data_size β an API function, no cap π
π NAME π
gnutls_record_set_max_early_data_size β literally just an API function, that's the whole name, periodt.
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
int gnutls_record_set_max_early_data_size(gnutls_session_t session,
size_t size);
π«Ά ARGUMENTS π«Ά
gnutls_session_t sessionβ bestie, this is agnutls_session_ttype. that's the vibe. it's the session, it's giving session energy π¦size_t sizeβ this is the new size. the new one. the fresh one. slay.
π DESCRIPTION π
so the way this works: this function sets the maximum early data size in this connection. π
not me dropping a plot twist though β this property can only be set to servers. servers only, iykyk. the client doesn't get to set it directly; instead the client may be provided with the maximum allowed size through the "early_data" extension of the NewSessionTicket handshake message. so the server's the one handing out the info, and the client just receives it like a little gift πβ¨
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned. otherwise? a negative error code comes back at you π that's the whole mood. 0 = we ate. negative = we did not eat.
β SINCE β
3.6.4 β an icon, an OG, been here since 3.6.4 π
π REPORTING BUGS π
found a bug? don't be shy, report it to <bugs@gnutls.org> π«Ά
home page, for the curious besties: 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 π
πΈ 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, then bestie, go visit:
https://www.gnutls.org/manual/
okay that's the whole page, mwah π this came out of gnutls version 3.8.13, and yeah the manpage header's got that gnutls_record_...early_data_size(3) energy going on up top β consider it mentioned, consider it iconic, consider it done β¨π¦π
π¦ 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