summaryrefslogtreecommitdiff
path: root/runtime/js/40_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_http.js')
-rw-r--r--runtime/js/40_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js
index 9afca0f5b..4a8743438 100644
--- a/runtime/js/40_http.js
+++ b/runtime/js/40_http.js
@@ -7,7 +7,7 @@
function serveHttp(conn) {
const rid = core.opSync("op_http_start", conn.rid);
- return new HttpConn(rid);
+ return new HttpConn(rid, conn.remoteAddr, conn.localAddr);
}
window.__bootstrap.http.serveHttp = serveHttp;