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). 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.
This page is part of the GnuTLS (GnuTLS Transport Layer Security
Library) project. Information about the project can be found at
⟨http://www.gnutls.org/⟩. If you have a bug report for this manual
page, send it to email@example.com.. This page was obtained from the
tarball gnutls-3.5.9.tar.xz fetched from
⟨http://www.gnutls.org/download.html⟩ on 2017-03-13. If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page, or
you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a mail
gnutls 3.5.9 gnutls_record_set_max_size(3)