libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 5e099343f2ad5851b5b63bc7c9cb3b0c216f4103
parent 7764a946fd1c051dea59b0e3404a371a34319572
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 16 Mar 2017 18:43:53 +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.

Diffstat:
Msrc/microhttpd/connection_https.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git 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