commit 8e359ede132710c6545782fd9036e89001aba4e1
parent 1465eb2982e5d6178acc780b48cb52fb963c51d9
Author: Joris Vink <joris@coders.se>
Date: Tue, 4 Jul 2017 10:42:14 +0200
flush out send buffer in http_error_response().
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/http.c b/src/http.c
@@ -1609,6 +1609,9 @@ http_error_response(struct connection *c, int status)
fatal("http_error_response() bad proto %d", c->proto);
/* NOTREACHED. */
}
+
+ if (!net_send_flush(c))
+ kore_connection_disconnect(c);
}
static void