cleaned up comment in http.go

This commit is contained in:
renaynay 2020-02-28 13:57:12 +01:00
parent 860d5633cc
commit 9be013cf74
No known key found for this signature in database
GPG key ID: 731E44FAAFCD0274

View file

@ -250,8 +250,8 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), code)
return
}
// All checks passed, create a codec that reads direct from the request body
// until EOF, write the response to w, and order the server to process a
// All checks passed, create a codec that reads directly from the request body
// until EOF, writes the response to w, and orders the server to process a
// single request.
ctx := r.Context()
ctx = context.WithValue(ctx, "remote", r.RemoteAddr)