summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/http/00_serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/00_serve.js b/ext/http/00_serve.js
index 3022bc5fa..6e8f846df 100644
--- a/ext/http/00_serve.js
+++ b/ext/http/00_serve.js
@@ -515,7 +515,7 @@ async function serve(arg1, arg2) {
const rid = context.serverRid;
let req;
try {
- req = await core.opAsync("op_http_wait", rid);
+ req = await core.opAsync2("op_http_wait", rid);
} catch (error) {
if (ObjectPrototypeIsPrototypeOf(BadResourcePrototype, error)) {
break;