aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-12-02 22:49:25 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-12-02 22:49:25 +0300
commit8bb481f66e67f9369bfe62eb236ac1c3ca3bb550 (patch)
tree9f4ebd50c0f6e3b4bd204c2a471fd8ad7ec57357
parentda9505598c515f42fa56e4fd4ac432d1b32cc565 (diff)
downloadlibmicrohttpd-8bb481f66e67f9369bfe62eb236ac1c3ca3bb550.tar.gz
libmicrohttpd-8bb481f66e67f9369bfe62eb236ac1c3ca3bb550.zip
"Upgraded" TLS connections: removed minor duplicated code
-rw-r--r--src/microhttpd/daemon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b758882a..cf5203aa 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1526,7 +1526,6 @@ process_urh (struct MHD_UpgradeResponseHandle *urh)
1526 if (buf_size > SSIZE_MAX) 1526 if (buf_size > SSIZE_MAX)
1527 buf_size = SSIZE_MAX; 1527 buf_size = SSIZE_MAX;
1528 1528
1529 connection->tls_read_ready = false;
1530 res = gnutls_record_recv (connection->tls_session, 1529 res = gnutls_record_recv (connection->tls_session,
1531 &urh->in_buffer[urh->in_buffer_used], 1530 &urh->in_buffer[urh->in_buffer_used],
1532 buf_size); 1531 buf_size);