Skip to content
Snippets Groups Projects
Commit 12970487 authored by Traun Leyden's avatar Traun Leyden Committed by Alex Ellis
Browse files

Fix attempt for reported connection buildup

parent 501e813d
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