1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-14 01:16:33 +00:00
Files
nmap/nselib/http.lua
dmiller 9d90970c61 Cache result of identify_404 for each service.
We already use the web cache, so the requests weren't being sent more
than once in many situations, but since the "random" requests were
generated using a timestamp, they change after 1 second, resulting in
more requests and cache bloat. So instead, we cache the result of the
function call, since that should be stable for the lifetime of the
service. Still using the web cache to avoid multiple requests in a
1-second timespan.
2017-07-27 18:21:10 +00:00

107 KiB