Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
04a695ac
Unverified
Commit
04a695ac
authored
Aug 16, 2022
by
Niklas Adolfsson
Committed by
GitHub
Aug 16, 2022
Browse files
fix(http server): add log for the http request (#854)
parent
a229459e
Pipeline
#208498
passed with stages
in 4 minutes and 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
http-server/src/server.rs
View file @
04a695ac
...
...
@@ -597,6 +597,7 @@ impl<L: Logger> hyper::service::Service<hyper::Request<hyper::Body>> for TowerSe
}
fn
call
(
&
mut
self
,
request
:
hyper
::
Request
<
hyper
::
Body
>
)
->
Self
::
Future
{
tracing
::
trace!
(
"{:?}"
,
request
);
let
data
=
self
.inner
.clone
();
Box
::
pin
(
data
.handle_request
(
request
)
.map
(
Ok
))
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment