]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
document the need for gnutls_transport_set_pull_timeout_function
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 30 Apr 2015 12:53:17 +0000 (14:53 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 30 Apr 2015 12:53:17 +0000 (14:53 +0200)
lib/gnutls_handshake.c
lib/gnutls_record.c

index c6857b937312a98de7d53ef884a2e62dd3e96806..c3e14641ab0417196e1a996091dbe06e610020e7 100644 (file)
@@ -2608,6 +2608,9 @@ int gnutls_handshake(gnutls_session_t session)
  * default value. For the DTLS protocol, the more detailed
  * gnutls_dtls_set_timeouts() is provided.
  *
+ * This function requires to set a pull timeout callback. See
+ * gnutls_transport_set_pull_timeout_function().
+ *
  * Since: 3.1.0
  **/
 void
index d1c22c9dd618cab9aaaf13f3c097a1d0dc94265e..d83bf098c42b97999ce8f43db7411a6152de67b8 100644 (file)
@@ -1741,6 +1741,9 @@ gnutls_record_recv_seq(gnutls_session_t session, void *data,
  * to the provided value. Use an @ms value of zero to disable
  * timeout (the default).
  *
+ * This function requires to set a pull timeout callback. See
+ * gnutls_transport_set_pull_timeout_function().
+ *
  * Since: 3.1.7
  **/
 void gnutls_record_set_timeout(gnutls_session_t session, unsigned int ms)