We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a8c07 commit 90a500bCopy full SHA for 90a500b
1 file changed
tonic/src/transport/server/mod.rs
@@ -52,7 +52,7 @@ use hyper::{body::Incoming, service::Service as HyperService};
52
use pin_project::pin_project;
53
use std::{
54
fmt,
55
- future::{self, poll_fn, Future},
+ future::{self, Future},
56
marker::PhantomData,
57
net::SocketAddr,
58
pin::{pin, Pin},
@@ -725,10 +725,6 @@ impl<L> Server<L> {
725
726
trace!("connection accepted");
727
728
- poll_fn(|cx| svc.poll_ready(cx))
729
- .await
730
- .map_err(super::Error::from_source)?;
731
-
732
let req_svc = svc
733
.call(&io)
734
.await
0 commit comments