![]() The Scanner.config struct is a configuration for all instances of Scanner. Scanner.Scan() is called concurrently by multiple worker goroutines; while Scanner is dereferenced before the call, the config struct is a pointer, and so modifications to it will affect all other running scans done with that Scanner. Make sure we treat it as immutable during anything invoked by Scanner.Scan() in the http module. https://github.com/zmap/zgrab2/pull/245 |
||
---|---|---|
.. | ||
http_readlimit_test.go | ||
scanner.go |