gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 01/03: connection_https: reset tls_read_rea


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/03: connection_https: reset tls_read_ready when no data is available
Date: Sun, 27 Aug 2017 20:56:25 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit de5c159df5d4395c6c67914c09552321b2012123
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Aug 20 18:39:59 2017 +0300

    connection_https: reset tls_read_ready when no data is available
---
 src/microhttpd/connection_https.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microhttpd/connection_https.c 
b/src/microhttpd/connection_https.c
index 19d6db59..73589b2c 100644
--- a/src/microhttpd/connection_https.c
+++ b/src/microhttpd/connection_https.c
@@ -64,6 +64,8 @@ recv_tls_adapter (struct MHD_Connection *connection,
       if (GNUTLS_E_AGAIN == res)
         connection->epoll_state &= ~MHD_EPOLL_STATE_READ_READY;
 #endif
+      /* Any network errors means that buffer is empty. */
+      connection->tls_read_ready = false;
       return MHD_ERR_AGAIN_;
     }
   if (res < 0)

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



reply via email to

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