gnutls_record_get_max_send_size(3)
π gnutls_record_get_max_send_size β the API function that tells u how much u can yeet π
okay bestie, welcome to the gnutls manual, page for gnutls_record_get_max_send_size(3) π yes this is a real function and yes it's lowkey iconic, let's get into it β¨
β¨ NAME β¨
gnutls_record_get_max_send_size β it's an API function bestie, that's the whole vibe π
πΈ SYNOPSIS πΈ
okay so here's how u pull up on it:
#include <gnutls/gnutls.h>
size_t gnutls_record_get_max_send_size(gnutls_session_t session);
look at that. clean. beautiful. no cap π«Ά
π¦ ARGUMENTS π¦
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's literally it. that's the whole argument. it's giving "i only need one thing and i need it to be a session" π
π DESCRIPTION π
so what does this actually DO? it gets u the maximum plaintext send size πβ¨
and here's the tea: that number might be negotiated (like, the two sides talked it out during the handshake, very collaborative of them) or it might be user specified (u just decided, main character energy, ur rules ur world π).
either way, this function hands u the number. no guessing required. periodt π
π₯ RETURNS π₯
the maximum plaintext send size. that's it. that's the return value. it's exactly what it says on the tin, fr fr π¦β¨
β SINCE β
3.8.11 β so if ur rocking anything older than that, sorry bestie, this one's not for u π (go update, it's giving 2019 energy in here)
π REPORTING BUGS π
found a bug? not me manifesting that but okay, here's where to send it:
- report bugs to
<bugs@gnutls.org>π§ - home page:
https://www.gnutls.orgπ
they wanna hear from u, bestie. constructive feedback only tho, we're not mean here π«Ά
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others. π
and the legal bit, word for word, bc we respect the paperwork:
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.
translation: u can copy and share this, no fee, no drama, just keep the copyright notice and this notice intact. slay, generous, we love to see it π
π§ SEE ALSO π§
the full documentation for gnutls is maintained as a Texinfo manual π so if the /usr/share/doc/gnutls/ directory does NOT contain the HTML form, bestie, go visit:
https://www.gnutls.org/manual/
that's the plug. iykyk πΈ
okay that's the whole page!! this was pulled from the <strong>gnutls 3.8.13</strong> manual release, so if ur out here quoting it, that's the version u got it from π now go get ur max send size and be free, u gorgeous genius π¦β¨π
π¦ 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