lib: check SharedArrayBuffer existence in fast-utf8-stream
#69426
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/client-proxy/test-https-proxy-request-invalid-char-in-url.mjs#L97
--- stderr ---
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected
+ Set(7) {
- Set(6) {
{
+ error: Error: read ECONNRESET
+ at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
+ code: 'ECONNRESET',
+ errno: -54,
+ syscall: 'read'
+ },
+ source: 'client response for connect'
+ },
+ {
headers: {
host: 'localhost:60665'
},
method: 'CONNECT',
url: 'localhost:60665'
at Immediate.<anonymous> (file:///Users/runner/work/node/node/node/test/client-proxy/test-https-proxy-request-invalid-char-in-url.mjs:97:18)
at Immediate._onImmediate (/Users/runner/work/node/node/node/test/common/index.js:492:15)
at process.processImmediate (node:internal/timers:504:21) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: Set(7) {
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
error: Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:216:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
},
source: 'client response for connect'
}
},
expected: Set(6) {
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
},
{
method: 'CONNECT',
url: 'localhost:60665',
headers: { host: 'localhost:60665' }
}
},
operator: 'deepStrictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
--- stdout ---
[Upstream server] responding to request for '/carriage-return-in-host'
[Upstream server] responding to request for '/crlf-in-host'
[Upstream server] responding to request for '/carriage-return-in-port'
[Upstream server] responding to request for '/newline-in-host'
[Proxy client] Received response from server for 'https://local\rhost:60665/carriage-return-in-host': Response for '/carriage-return-in-host'
[Proxy client] #1 closed request for: 'https://local\rhost:60665/carriage-return-in-host'
[Upstream server] responding to request for '/crlf-in-port'
[Proxy client] Received response from server for 'https://local\r\nhost:60665/crlf-in-host': Response for '/crlf-in-host'
[Proxy client] #2 closed request for: 'https://local\r\nhost:60665/crlf-in-host'
[Proxy client] Received response from server for 'https://localhost:6\r0665/carriage-return-in-port': Response for '/carriage-return-in-port'
[Proxy client] #3 closed request for: 'https://localhost:6\r0665/carriage-return-in-port'
[Proxy client] Received response from server for 'https://local\nhost:60665/newline-in-host': Response for '/newline-in-host'
[Proxy client] #4 closed request for: 'https://local\nhost:60665/newline-in-host'
[Upstream server] responding to request for '/newline-in-port'
[Proxy client] Received response from server for 'https://localhost:6\r\n0665/crlf-in-port': Response for '/crlf-in-port'
[Proxy client] #5 closed request for: 'https://localhost:6\r\n0665/crlf-in-port'
[Proxy cl
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|