flush out send buffer in http_error_response().

This commit is contained in:
Joris Vink 2017-07-04 10:42:14 +02:00
parent 1465eb2982
commit 8e359ede13

View File

@ -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