gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 01/03: MHD_tls_connection_handle_idle(): do


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/03: MHD_tls_connection_handle_idle(): do not need to explicitly handle data pending in TLS buffers Data from TLS buffers handled automatically by read/write functions.
Date: Thu, 16 Mar 2017 18:47:11 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 5e099343f2ad5851b5b63bc7c9cb3b0c216f4103
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Mar 16 18:43:53 2017 +0300

    MHD_tls_connection_handle_idle(): do not need to explicitly handle data 
pending in TLS buffers
    Data from TLS buffers handled automatically by read/write functions.
---
 src/microhttpd/connection_https.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/microhttpd/connection_https.c 
b/src/microhttpd/connection_https.c
index dea9956d..3dca50e5 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -154,9 +154,6 @@ MHD_tls_connection_handle_idle (struct MHD_Connection 
*connection)
     case MHD_CONNECTION_CLOSED:
       return MHD_connection_handle_idle (connection);
     default:
-      if ( (0 != gnutls_record_check_pending (connection->tls_session)) &&
-          (MHD_YES != MHD_tls_connection_handle_read (connection)) )
-       return MHD_YES;
       return MHD_connection_handle_idle (connection);
     }
 #ifdef EPOLL_SUPPORT

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]