Blame doc/functions/gnutls_handshake_set_timeout
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {void} {gnutls_handshake_set_timeout} (gnutls_session_t @var{session}, unsigned int @var{ms})
|
|
Packit Service |
4684c1 |
@var{session}: is a @code{gnutls_session_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{ms}: is a timeout value in milliseconds
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function sets the timeout for the TLS handshake process
|
|
Packit Service |
4684c1 |
to the provided value. Use an @code{ms} value of zero to disable
|
|
Packit Service |
4684c1 |
timeout, or @code{GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT} for a reasonable
|
|
Packit Service |
4684c1 |
default value. For the DTLS protocol, the more detailed
|
|
Packit Service |
4684c1 |
@code{gnutls_dtls_set_timeouts()} is provided.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function requires to set a pull timeout callback. See
|
|
Packit Service |
4684c1 |
@code{gnutls_transport_set_pull_timeout_function()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.1.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|