gsasl_server_callback_maxbuf_set(3)
β¨ gsasl_server_callback_maxbuf_set(3) β¨
okay so bestie, welcome to the gsasl manual π this one's a lil function page, and no cap, it's short but she's got lore.
πΈ NAME πΈ
gsasl_server_callback_maxbuf_set β it's an API function, periodt. that's literally the whole name section, she's a woman of few words π
π¦ SYNOPSIS π¦
#include <gsasl.h>
void gsasl_server_callback_maxbuf_set(Gsasl * ctx,
Gsasl_server_callback_maxbuf cb);
yes the line break in the middle is just how she's typeset, don't come for her π
π ARGUMENTS π
Gsasl * ctxβ your libgsasl handle, aka the main character of your session πGsasl_server_callback_maxbuf cbβ the callback function itself, the little guy who's gonna do the work β¨
π§ DESCRIPTION π§
so here's the tea β this function sets the callback function that your server uses to tell the client the largest buffer the server can actually receive β and this only matters when you're using DIGEST-MD5 with the "auth-int" or "auth-conf" Quality of Protection (aka qop) π«Ά
and if you just... forget to set it? no worries bestie, the default value of 65536 gets assumed π the function is lowkey just chillin' with a sensible fallback.
whenever you want her back, you can retrieve her later with gsasl_server_callback_maxbuf_get() β she's not lost, she's just resting π
π DEPRECATED π
okay bestie, listen. this function is part of the old callback interface. it's giving legacy energy π
the new interface does things differently:
- you set the application callback with
gsasl_callback_set() - and you invoke the callback for certain properties using
gsasl_callback()orgsasl_property_get()
so like, she still works, but she's your aunt's Facebook account β beloved, but there's a newer way π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the devs π«Ά
- report bugs to
<bug-gsasl@gnu.org> - general guidelines for reporting bugs:
http://www.gnu.org/gethelp/ - GNU SASL home page:
http://www.gnu.org/software/gsasl/
π COPYRIGHT π
Copyright Β© 2002-2021 Simon Josefsson.
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 π (yes that's a real permission and it's iconic of them honestly)
π SEE ALSO π
the full documentation for gsasl is maintained as a Texinfo manual. if the info and gsasl programs are properly installed at your site, this command:
info gsasl
should give you access to the complete manual β¨ as an alternative you may obtain the manual from:
http://www.gnu.org/software/gsasl/manual/
and that's the whole page bestie!! π this was brought to you by gsasl 1.10.0 β go forth and set your maxbuf callback, or don't, she's deprecated anyway π slay π¦π
π¦ where this page comes from
- ubuntu jammy: libgsasl-dev 1.10.0-5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms