summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-14 17:14:49 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-04-14 17:14:49 +0200
commitc60c86cd7560320cbff3045f534ba417c553a0eb (patch)
tree5c5501506928b29cbfd52e1de50ffcfa7bf11cf7
parentc16dc1680b23c379640fc56973bc7807468b6432 (diff)
downloadgnutls-c60c86cd7560320cbff3045f534ba417c553a0eb.tar.gz
Removed text about select().
-rw-r--r--doc/cha-intro-tls.texi5
-rw-r--r--lib/gnutls_buffers.c6
2 files changed, 1 insertions, 10 deletions
diff --git a/doc/cha-intro-tls.texi b/doc/cha-intro-tls.texi
index b96d314ae0..eb7dabdf9d 100644
--- a/doc/cha-intro-tls.texi
+++ b/doc/cha-intro-tls.texi
@@ -95,10 +95,7 @@ the @ref{gnutls_transport_set_lowat} must be called, with a zero
low water mark value.
By default, if the transport functions are not set, @acronym{GnuTLS}
-will use the Berkeley Sockets functions. In this case
-@acronym{GnuTLS} will use some hacks in order for @code{select} to
-work, thus making it easy to add @acronym{TLS} support to existing
-TCP/IP servers.
+will use the Berkeley Sockets functions.
@node The TLS record protocol
@section The TLS Record Protocol
diff --git a/lib/gnutls_buffers.c b/lib/gnutls_buffers.c
index c6f05dffd6..da028995b0 100644
--- a/lib/gnutls_buffers.c
+++ b/lib/gnutls_buffers.c
@@ -211,12 +211,6 @@ _gnutls_record_buffer_get_size (content_type_t type, gnutls_session_t session)
* This function checks if there are any data to receive in the gnutls
* buffers.
*
- * Note that you could also use select() to check for data in a TCP
- * connection, instead of this function. GnuTLS leaves some data in
- * the tcp buffer in order for select to work. However the select()
- * alternative is not recommended and will be deprecated in later
- * GnuTLS revisions.
- *
* Returns: the size of that data or 0.
**/
size_t