aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c5
1 files changed, 4 insertions, 1 deletions
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 }