HTTP watch handler may be leaking file handles
Open
needs-investigation
type/bug
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Originally reported in https://groups.google.com/forum/#!topic/consul-tool/xS3clFSI_VY
This needs some investigation to reproduce. The [HTTP watch handler](https://github.com/hashicorp/consul/blob/8f145559d88fae16b74c2256c7e9387b3d2c22cc/agent/watch_handler.go#L96) does close the response body after reading as the docs suggest.
Contributor guide
Assessment
This issue has not been assessed yet.