mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
consistency
This commit is contained in:
parent
0ee8a31c94
commit
b8aaf24410
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// All checks passed, create a codec that reads direct from the request body
|
// All checks passed, create a codec that reads direct from the request body
|
||||||
// until EOF, writes the response to w and order the server to process a
|
// until EOF, write the response to w, and order 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