1gnutls_heartbeat_set_timeouts(3) gnutls gnutls_heartbeat_set_timeouts(3)
2
3
4
6 gnutls_heartbeat_set_timeouts - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_heartbeat_set_timeouts(gnutls_session_t session, unsigned
12 int retrans_timeout, unsigned int total_timeout);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 unsigned int retrans_timeout
19 The time at which a retransmission will occur in millisec‐
20 onds
21
22 unsigned int total_timeout
23 The time at which the connection will be aborted, in mil‐
24 liseconds.
25
27 This function will override the timeouts for the DTLS heartbeat proto‐
28 col. The retransmission timeout is the time after which a message from
29 the peer is not received, the previous request will be retransmitted.
30 The total timeout is the time after which the handshake will be aborted
31 with GNUTLS_E_TIMEDOUT.
32
34 3.1.2
35
37 Report bugs to <bugs@gnutls.org>.
38 Home page: https://www.gnutls.org
39
40
42 Copyright © 2001- 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 no‐
45 tice and this notice are preserved.
46
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.7.2 gnutls_heartbeat_set_timeouts(3)