Skip to content
Snippets Groups Projects
Commit 2563bf51 authored by Alex Ellis's avatar Alex Ellis Committed by GitHub
Browse files

Merge pull request #13 from tleyden/patch-1

Fix attempt for reported connection buildup
parents d031e315 dd67519c
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ func makeRequestHandler(config *WatchdogConfig) func(http.ResponseWriter, *http.
writer, _ := targetCmd.StdinPipe()
res, _ := ioutil.ReadAll(r.Body)
defer r.Body.Close()
writer.Write(res)
writer.Close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment