8000 tls: improve debugging assertion by addaleax · Pull Request #22625 · nodejs/node · GitHub
[go: up one dir, main page]

Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file 8000
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/_tls_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ function onhandshakestart(now) {
5547 debug('onhandshakestart');

const { lastHandshakeTime } = this;
assert(now >= lastHandshakeTime);
assert(now >= lastHandshakeTime,
`now (${now}) < lastHandshakeTime (${lastHandshakeTime})`);

this.lastHandshakeTime = now;

Expand Down
0