Skip to content

Commit 97a0657

Browse files
committed
CHANGELOG: TlsSocket::connect bounds the handshake with the timeout it already took
1 parent bf99dbd commit 97a0657

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ unless the caller passed a stop token.
1616
now fails where it used to complete. Each step of setting up a connection (the
1717
TCP connect, a proxy's reply, a handshake) has `connectTimeoutMs` to itself, so
1818
the whole can take several times that.
19+
* `TlsSocket::connect` bounds the handshake with the `timeoutMs` it already
20+
took for the TCP connect, so a caller of it directly sees the change too.
1921
* `TlsSocket::connect_over` takes a trailing `handshakeTimeoutMs`, `-1` (the
2022
default) for no limit; a call by name compiles unchanged, a pointer to it needs
2123
the new parameter in its type. `Socket` gains `set_deadline`, `deadline_hit`

0 commit comments

Comments
 (0)