This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Dmitry Volyntsev <xeioex@nginx.com> | |
# Date 1714094993 25200 | |
# Thu Apr 25 18:29:53 2024 -0700 | |
# Node ID 99b1ca45f022879a13f18273ff108b145af4a87d | |
# Parent 83dc664adf0f6f101030fa50937c04d924b91103 | |
Fetch: fixed request Host header when port is non standard. | |
This fixes #707 issue on Github. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) Dmitry Volyntsev | |
* Copyright (C) F5, Inc. | |
*/ | |
#include <qjs.h> | |
#include <zlib.h> | |
#define NJS_ZLIB_CHUNK_SIZE 1024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Dmitry Volyntsev <xeioex@nginx.com> | |
# Date 1714004242 25200 | |
# Wed Apr 24 17:17:22 2024 -0700 | |
# Node ID e528173d40bc2f3325cc1ba17a21a1287123df56 | |
# Parent a97a9f3b3cea376717177438c98f87d6a888cbb0 | |
Configure: workaround for QuickJS builds on older platforms. | |
diff --git a/auto/quickjs b/auto/quickjs | |
--- a/auto/quickjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Dmitry Volyntsev <xeioex@nginx.com> | |
# Date 1713338720 25200 | |
# Wed Apr 17 00:25:20 2024 -0700 | |
# Node ID ca18b6292d6eea0bb58f5e7b08a7249d04629a8a | |
# Parent 40c980ca34563c056e871d5585d1aedd8f4d0890 | |
Zlib: fixed inflate(). | |
Previously, the function might fail to return the last part of the | |
compressed content. This problem is more visible when output size is > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Dmitry Volyntsev <xeioex@nginx.com> | |
# Date 1713313013 25200 | |
# Tue Apr 16 17:16:53 2024 -0700 | |
# Node ID 23a70db4abde8a37093d664f62451eebafa2642e | |
# Parent ab95d9c342aa81005b1c8aa1d45f0ede58289148 | |
Modules: improved checking for duplicate js_set variables. | |
Since 6fb1aca4eeaf (0.8.4) the identical js_set variables introduced as | |
a part of an include file that is shared amongst multiple vhosts are |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, | |
I'm glad to announce a new release of NGINX JavaScript module (njs). | |
This release introduced the initial QuickJS engine support in CLI | |
as well as regular bugfixes. | |
Notable new features: | |
- QuickJS in njs CLI: | |
: $ ./configure --cc-opt="-I/path/to/quickjs -L/path/to/quickjs" && make njs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/njs_builtin.c b/src/njs_builtin.c | |
--- a/src/njs_builtin.c | |
+++ b/src/njs_builtin.c | |
@@ -426,7 +426,6 @@ njs_builtin_traverse(njs_vm_t *vm, njs_t | |
lhq.value = prop; | |
lhq.key_hash = prop->name.atom_id; | |
- lhq.atom_id = prop->name.atom_id; | |
lhq.replace = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::cmp::Ordering; | |
use std::collections::BinaryHeap; | |
use std::future::Future; | |
use futures::task::noop_waker; | |
use std::pin::Pin; | |
use std::task::{Context, Poll, Waker}; | |
use std::time::{Duration, Instant}; | |
struct Timer { | |
wake_time: Instant, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/test262.py b/src/test262.py | |
index c92e5bf..e861e2e 100755 | |
--- a/src/test262.py | |
+++ b/src/test262.py | |
@@ -54,6 +54,8 @@ EXCLUDE_LIST = [x.getAttribute("id") for x in EXCLUDE_LIST] | |
def BuildOptions(): | |
result = optparse.OptionParser() | |
result.add_option("--command", default=None, help="The command-line to run") | |
+ result.add_option("--selector", default=None, help="Run only tests matching \ | |
+ this path prefix") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HG changeset patch | |
# User Dmitry Volyntsev <xeioex@nginx.com> | |
# Date 1708532262 28800 | |
# Wed Feb 21 08:17:42 2024 -0800 | |
# Node ID ff992fbf44af9516a3481d369d871a8db237c793 | |
# Parent 0479e5821ab2c724cb78ebc6c40411a3d7230f1d | |
Shell: added QuickJS engine support. | |
diff --git a/auto/expect b/auto/expect | |
--- a/auto/expect |
NewerOlder