Proposed Changes
Handshake() in a goroutine and selecting on context timeout.context.TODO() with timeout context in ztls cipher enumeration.HandshakeContext(ctx) with timeout in ctls cipher enumeration instead of bare Handshake().Why
Handshake() was evaluated synchronously in the select send expression.How to verify
go test ./pkg/tlsx/ztls ./pkg/tlsx/tls -run TestDoesNotExistProof
ok github.com/projectdiscovery/tlsx/pkg/tlsx/ztlsok github.com/projectdiscovery/tlsx/pkg/tlsx/tlsNotes
/claim #819
tyeungchukong-gmail-com
@tyeungchukong-gmail-com
youssefosama3820009-commits
@youssefosama3820009-commits
ProjectDiscovery
@projectdiscovery