aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/microhttpd/mhd_send.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a8940d51..693abad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Tue 16 Jun 2020 08:44:22 PM CEST
2 Add logic to try again if GNUtls uncork() fails. -CG
3
1Wed 10 Jun 2020 09:44:29 PM CEST 4Wed 10 Jun 2020 09:44:29 PM CEST
2 Fixed PostProcessor bug discovered by MD, which given certain parser 5 Fixed PostProcessor bug discovered by MD, which given certain parser
3 boundaries caused the returned values to be wrong. -CG/MD 6 boundaries caused the returned values to be wrong. -CG/MD
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 0864d532..1ff45231 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -313,7 +313,10 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
313 313
314 if (! want_cork && have_cork) 314 if (! want_cork && have_cork)
315 { 315 {
316 (void) gnutls_record_uncork (connection->tls_session, 0); 316 int err = gnutls_record_uncork (connection->tls_session, 0);
317
318 if (0 > err)
319 return MHD_ERR_AGAIN_;
317 connection->sk_cork_on = false; 320 connection->sk_cork_on = false;
318 } 321 }
319 } 322 }