Sha256: 8cd1c1a1f21beb889ba522af0640c33f54db3bea867616043681cb92e65c9620

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_record_set_max_size" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_record_set_max_size \- sets the maximum record size
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "ssize_t gnutls_record_set_max_size(gnutls_session_t " session ", size_t " size ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "size_t size" 12
is the new size
.SH "DESCRIPTION"
This function sets the maximum record packet size in this
connection.  This property can only be set to clients.  The server
may choose not to accept the requested size.

Acceptable values are 512(=2^9), 1024(=2^10), 2048(=2^11) and
4096(=2^12).  Returns 0 on success. The requested record size does
get in effect immediately only while sending data. The receive
part will take effect after a successful handshake.

This function uses a TLS extension called 'max record size'.  Not
all TLS implementations use or even understand this extension.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_record_set_max_size.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_record_set_max_size.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_record_set_max_size.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_record_set_max_size.3