Fix comment
This commit is contained in:
parent
e88a448a20
commit
7f9cd51ede
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ type submitResponse struct {
|
||||||
|
|
||||||
func (s *submitServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
func (s *submitServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
||||||
// if we attempt to return a response without reading the request body,
|
// 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 req.Body.Close()
|
||||||
defer io.Copy(ioutil.Discard, req.Body)
|
defer io.Copy(ioutil.Discard, req.Body)
|
||||||
|
|
||||||
|
|
Reference in a new issue