aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/http/http_server.c')
-rw-r--r--src/supplemental/http/http_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/supplemental/http/http_server.c b/src/supplemental/http/http_server.c
index 7a7caeca..ffb01449 100644
--- a/src/supplemental/http/http_server.c
+++ b/src/supplemental/http/http_server.c
@@ -704,6 +704,7 @@ finish:
// make sure the response is freshly initialized
nni_http_res_reset(nni_http_conn_res(sc->conn));
nni_http_set_version(sc->conn, NNG_HTTP_VERSION_1_1);
+ nni_http_set_status(sc->conn, 0, NULL);
h->cb(sc->conn, h->data, &sc->cbaio);
}