update comment

This commit is contained in:
Simon Knott 2024-09-14 12:17:23 +02:00
parent 7e2acc513d
commit 23a0a53e1b
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -494,7 +494,7 @@ export abstract class APIRequestContext extends SdkObject {
dnsLookupAt = (socket as any).dnsLookupAt;
tcpConnectionAt = (socket as any).tcpConnectionAt;
// standard case
// non-happy-eyeballs sockets
socket.on('lookup', () => { dnsLookupAt = monotonicTime(); });
socket.on('connect', () => { tcpConnectionAt = monotonicTime(); });
socket.on('secureConnect', () => { tlsHandshakeAt = monotonicTime(); });