mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cleaned up comment in http.go
This commit is contained in:
parent
860d5633cc
commit
9be013cf74
1 changed files with 2 additions and 2 deletions
|
|
@ -250,8 +250,8 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
http.Error(w, err.Error(), code)
|
http.Error(w, err.Error(), code)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// All checks passed, create a codec that reads direct from the request body
|
// All checks passed, create a codec that reads directly from the request body
|
||||||
// until EOF, write the response to w, and order the server to process a
|
// until EOF, writes the response to w, and orders the server to process a
|
||||||
// single request.
|
// single request.
|
||||||
ctx := r.Context()
|
ctx := r.Context()
|
||||||
ctx = context.WithValue(ctx, "remote", r.RemoteAddr)
|
ctx = context.WithValue(ctx, "remote", r.RemoteAddr)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue