From fe9cee620a4c0d8923bdf99882f95275b69abcb4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 15 Apr 2021 18:48:56 -0400 Subject: fix(#10182): hang during http server response (#10197) --- runtime/js/40_http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/js') diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js index 3916b1df4..45361ee34 100644 --- a/runtime/js/40_http.js +++ b/runtime/js/40_http.js @@ -130,7 +130,7 @@ zeroCopyBuf = null; } - const responseBodyRid = Deno.core.opSync("op_http_response", [ + const responseBodyRid = await Deno.core.opAsync("op_http_response", [ responseSenderRid, resp.status ?? 200, flattenHeaders(resp.headers), -- cgit v1.2.3