Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed Mar 6, 2018
1 parent e88a448 commit 7f9cd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.com/matrix-org/rageshake/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type submitResponse struct {

func (s *submitServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
// if we attempt to return a response without reading the request body,
// haproxy (apache?) gets upset and returns a 500. Let's try this.
// apache gets upset and returns a 500. Let's try this.
defer req.Body.Close()
defer io.Copy(ioutil.Discard, req.Body)

Expand Down

0 comments on commit 7f9cd51

Please sign in to comment.