[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/10: Upgraded connection: cosmetics
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/10: Upgraded connection: cosmetics |
Date: |
Wed, 01 Nov 2023 11:52:17 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit e60359c0b39da49350dee1495702a586ce64532f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Oct 10 20:38:32 2023 +0300
Upgraded connection: cosmetics
---
src/microhttpd/daemon.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 09d58b8e..69e241c0 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1424,10 +1424,8 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
else /* 0 < res */
{
urh->in_buffer_used += (size_t) res;
- if (0 < gnutls_record_check_pending (connection->tls_session))
- {
- connection->tls_read_ready = true;
- }
+ connection->tls_read_ready =
+ (0 < gnutls_record_check_pending (connection->tls_session));
}
if (MHD_EPOLL_STATE_ERROR ==
((MHD_EPOLL_STATE_ERROR | MHD_EPOLL_STATE_READ_READY) & urh->app.celi))
@@ -1593,7 +1591,7 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
(uint64_t) urh->in_buffer_used,
MHD_socket_strerr_ (err));
#endif
- /* Discard any data received form remote. */
+ /* Discard any data received from remote. */
urh->in_buffer_used = 0;
/* Reading from remote client is not required anymore. */
urh->in_buffer_size = 0;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (90fcf2fc -> 75e2addd), gnunet, 2023/11/01
- [libmicrohttpd] 03/10: daemon.c: cosmetics, gnunet, 2023/11/01
- [libmicrohttpd] 04/10: daemon: muted possible compiler warning, gnunet, 2023/11/01
- [libmicrohttpd] 02/10: Upgraded connection: cosmetics,
gnunet <=
- [libmicrohttpd] 01/10: digestauth: added asserts, fixed internal doxy, gnunet, 2023/11/01
- [libmicrohttpd] 07/10: configure: warn if building without threads, gnunet, 2023/11/01
- [libmicrohttpd] 09/10: Adjusted default value of maximum connections, gnunet, 2023/11/01
- [libmicrohttpd] 06/10: configure: cosmetics, gnunet, 2023/11/01
- [libmicrohttpd] 10/10: internal.h: added macros for polling mode detection, gnunet, 2023/11/01
- [libmicrohttpd] 08/10: configure: added detection of FD_SETSIZE value and ability to override it, gnunet, 2023/11/01
- [libmicrohttpd] 05/10: microhttpd.h: updated doxy for MHD_USE_PEDANTIC_CHECKS, gnunet, 2023/11/01