1gnutls_record_set_max_early_data_sizeg(n3ug)tnlustls_record_set_max_early_data_size(3)
2
3
4
6 gnutls_record_set_max_early_data_size - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_record_set_max_early_data_size(gnutls_session_t session,
12 size_t size);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 size_t size is the new size
19
21 This function sets the maximum early data size in this connection.
22 This property can only be set to servers. The client may be provided
23 with the maximum allowed size through the "early_data" extension of the
24 NewSessionTicket handshake message.
25
27 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
28 error code is returned.
29
31 3.6.4
32
34 Report bugs to <bugs@gnutls.org>.
35 Home page: http://www.gnutls.org
36
37
39 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright
42 notice and this notice are preserved.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
47 visit
48
49 http://www.gnutls.org/manual/
50
51gnutls 3.g6n.u5tls_record_set_max_early_data_size(3)