1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00
denoland-deno/ext
Yoshiya Hinosawa b55451b178
fix(ext/node): tls.connect regression (#27707)
The TLS start sequence has been broken since #26661 because of the way
how we wrap TCP handle to create TLS handle.

#26661 introduced happy-eyeballs algorithm and some connection could be
dropped because of happy-eyeball attempt timeout. The current
implementation doesn't consider that case and it could start TLS
handshake with timed out TCP connection. That caused #27652 .

This PR fixes it by changing the initialization steps. Now `wrapHandle`
of TLSSocket set up `afterConnectTls` callback in TCP handle, and
`afterConnect` of TCP handle calls it at `connect` event timing if it
exists. This avoids starting TLS session with timed out connection.

closes #27652
2025-01-18 00:10:26 +09:00
..
broadcast_channel chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
cache chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
canvas chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
console chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
cron chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
crypto chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
fetch chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
ffi chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
fs chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
http chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
io chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
kv chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
napi chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
net chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
node fix(ext/node): tls.connect regression (#27707) 2025-01-18 00:10:26 +09:00
os chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
process refactor: add 'deno_process' crate (#27680) 2025-01-17 13:30:14 +01:00
telemetry chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
tls chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
url chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
web chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
webgpu chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
webidl chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
websocket chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00
webstorage chore: forward v2.1.6 release commit to main (#27705) 2025-01-17 02:09:13 +01:00