This PR addresses the deadlock issue where tlsx would hang indefinitely during TLS handshakes despite a configured timeout, as reported in #819.
pkg/tlsx/tls/tls.go and pkg/tlsx/ztls/ztls.go to run the TLS handshake in a separate goroutine.select statement that listens on both the handshake result channel and the context’s Done channel.This fix is critical for large-scale scanning where hanging connections can significantly degrade performance and resource utilization.
Fixes #819 /claim #819
OnxyDaemon
@OnxyDaemon
youssefosama3820009-commits
@youssefosama3820009-commits
ProjectDiscovery
@projectdiscovery