mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 05:18:44 +00:00
openssl new service is not failable
This commit is contained in:
parent
bf10f6dfcf
commit
c2eff62efb
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl<T: AsyncRead + AsyncWrite> NewService for OpensslAcceptor<T> {
|
||||||
type Response = SslStream<T>;
|
type Response = SslStream<T>;
|
||||||
type Error = Error;
|
type Error = Error;
|
||||||
type Service = OpensslAcceptorService<T>;
|
type Service = OpensslAcceptorService<T>;
|
||||||
type InitError = io::Error;
|
type InitError = ();
|
||||||
type Future = FutureResult<Self::Service, io::Error>;
|
type Future = FutureResult<Self::Service, io::Error>;
|
||||||
|
|
||||||
fn new_service(&self) -> Self::Future {
|
fn new_service(&self) -> Self::Future {
|
||||||
|
|
Loading…
Reference in a new issue