hashicorp / hashicorp/consul

HTTP watch handler may be leaking file handles

Open
#3,942 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.