mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-01 00:03:15 +08:00
This patch enables TLS session resumption by setting a shared LRU session cache (`ClientSessionCache`) in all HTTP client TLS configs. This reduces handshake overhead and CPU usage for repeated conns to the same host, improving throughput and efficiency in clusterbomb/pitchfork modes. This applied to HTTP-request-based and headless- request-based protocols. No runtime/compatibility impact. Signed-off-by: Dwi Siswanto <git@dw1.io>