Skip to content

Commit

Permalink
Fix attempt for reported connection buildup
Browse files Browse the repository at this point in the history
  • Loading branch information
tleyden committed Jan 27, 2017
1 parent d031e31 commit dd67519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions watchdog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dd67519

Please sign in to comment.