mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
<ChangeLog> *) Feature: WebAssembly Components using WASI interfaces defined in wasi:http/proxy@0.2.0. *) Feature: conditional access logging. *) Feature: NJS variables access. *) Feature: $request_id variable contains a string that is formed using random data and can be used as a unique request identifier. *) Feature: options to set control socket permissions. *) Feature: Ruby arrays in response headers, improving compatibility with Rack v3.0. *) Feature: Python bytearray response bodies for ASGI applications. *) Bugfix: router could crash while sending large files. Thanks to rustedsword. *) Bugfix: serving static files from a network filesystem could lead to error. *) Bugfix: "uidmap" and "gidmap" isolation options validation. *) Bugfix: abstract UNIX socket name could be corrupted during configuration validation. Thanks to Alejandro Colomar. *) Bugfix: HTTP header field value encoding could be misinterpreted in Python module. *) Bugfix: Node.js http.createServer() accepts and ignores the "options" argument, improving compatibility with strapi applications, among others. *) Bugfix: ServerRequest.flushHeaders() implemented in Node.js module to make it compatible with Next.js. *) Bugfix: ServerRequest.httpVersion variable format in Node.js module. *) Bugfix: Node.js module handles standard library imports prefixed with "node:", making it possible to run newer Nuxt applications, among others. *) Bugfix: Node.js tarball location changed to avoid build/install errors. *) Bugfix: Go module sets environment variables necessary for building on macOS/arm64 systems. </ChangeLog>
26 lines
657 B
C
26 lines
657 B
C
--- src/nxt_script.c.orig 2023-10-17 14:15:38 UTC
|
|
+++ src/nxt_script.c
|
|
@@ -37,14 +37,6 @@ static void nxt_script_buf_completion(nxt_task_t *task
|
|
static nxt_lvlhsh_t nxt_script_info;
|
|
|
|
|
|
-static njs_vm_ops_t nxt_js_ops = {
|
|
- NULL,
|
|
- NULL,
|
|
- nxt_js_module_loader,
|
|
- NULL,
|
|
-};
|
|
-
|
|
-
|
|
nxt_script_t *
|
|
nxt_script_new(nxt_task_t *task, nxt_str_t *name, u_char *data, size_t size,
|
|
u_char *error)
|
|
@@ -62,8 +54,6 @@ nxt_script_new(nxt_task_t *task, nxt_str_t *name, u_ch
|
|
|
|
opts.file.start = (u_char *) "default";
|
|
opts.file.length = 7;
|
|
-
|
|
- opts.ops = &nxt_js_ops;
|
|
|
|
vm = njs_vm_create(&opts);
|
|
if (nxt_slow_path(vm == NULL)) {
|