1gnutls_record_set_max_empty_records(3g)nutlgsnutls_record_set_max_empty_records(3)
2
3
4

NAME

6       gnutls_record_set_max_empty_records - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void    gnutls_record_set_max_empty_records(gnutls_session_t   session,
12       const unsigned int i);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       const unsigned int i
19                   is the desired value of maximum empty records that  can  be
20                   accepted in a row.
21

DESCRIPTION

23       Used  to set the maximum number of empty fragments that can be accepted
24       in a row. Accepting  many  empty  fragments  is  useful  for  receiving
25       length-hidden  content,  where empty fragments filled with pad are sent
26       to hide the real length of a message. However, a malicious  peer  could
27       send  empty  fragments to mount a DoS attack, so as a safety measure, a
28       maximum number of empty fragments is accepted by default. If  you  know
29       your  application  must  accept  a given number of empty fragments in a
30       row, you can use this function to set the desired value.
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: http://www.gnutls.org
35
36
38       Copyright © 2001-2014 Free Software Foundation, Inc..
39       Copying and distribution of this file, with  or  without  modification,
40       are  permitted  in  any  medium  without royalty provided the copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The full documentation for gnutls is maintained as  a  Texinfo  manual.
45       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
46       visit
47
48       http://www.gnutls.org/manual/
49
50gnutls                              3.3.2g9nutls_record_set_max_empty_records(3)
Impressum