1gnutls_handshake_set_max_packet_lengtghng(un3tu)ltsls_handshake_set_max_packet_length(3)
2
3
4
6 gnutls_handshake_set_max_packet_length - This function will set the
7 maximum length of a handshake message
8
10 #include <gnutls/gnutls.h>
11
12 void gnutls_handshake_set_max_packet_length(gnutls_session_t session,
13 size_t max);
14
16 gnutls_session_t session
17 is a gnutls_session_t structure.
18
19 size_t max is the maximum number.
20
22 This function will set the maximum size of a handshake message. Hand‐
23 shake messages over this size are rejected. The default value is 16kb
24 which is large enough. Set this to 0 if you do not want to set an upper
25 limit.
26
28 Report bugs to <bug-gnutls@gnu.org>.
29
31 Copyright © 2006 Free Software Foundation.
32 Permission is granted to make and distribute verbatim copies of this
33 manual provided the copyright notice and this permission notice are
34 preserved on all copies.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 1g.n6u.t3ls_handshake_set_max_packet_length(3)