1gnutls_record_set_max_recv_size(3)  gnutls  gnutls_record_set_max_recv_size(3)
2
3
4

NAME

6       gnutls_record_set_max_recv_size - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       ssize_t    gnutls_record_set_max_recv_size(gnutls_session_t    session,
12       size_t size);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17
18       size_t size is the new size
19

DESCRIPTION

21       This function sets the maximum amount of plaintext received in a record
22       in this connection.
23
24       The  limit  is  also  negotiated through a TLS extension called 'record
25       size limit'.  Note that while the 'record size limit' extension is pre‐
26       ferred,  not  all TLS implementations use or even understand the exten‐
27       sion.
28

RETURNS

30       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
31       error code is returned.
32

SINCE

34       3.6.8
35

REPORTING BUGS

37       Report bugs to <bugs@gnutls.org>.
38       Home page: https://www.gnutls.org
39
40
42       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
43       Copying  and  distribution  of this file, with or without modification,
44       are permitted in any medium  without  royalty  provided  the  copyright
45       notice and this notice are preserved.
46

SEE ALSO

48       The  full  documentation  for gnutls is maintained as a Texinfo manual.
49       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
50       visit
51
52       https://www.gnutls.org/manual/
53
54gnutls                               3.6.8  gnutls_record_set_max_recv_size(3)
Impressum