decred / dcrpool

decred mining pool
ISC License
29 stars 27 forks source link

main: Add read header timeout to profile server. #382

Closed davecgh closed 1 year ago

davecgh commented 1 year ago

The profiling server typically shouldn't be exposed to the public, so this doesn't make a huge difference, but it's still good practice for HTTP servers to have read timeouts.