mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
fix ssl tests
This commit is contained in:
parent
3173c9fa83
commit
0bca21ec6d
@ -295,12 +295,7 @@ where
|
|||||||
handler: Box::new(HttpServiceBuilder::new(
|
handler: Box::new(HttpServiceBuilder::new(
|
||||||
self.factory.clone(),
|
self.factory.clone(),
|
||||||
move || ssl::OpensslAcceptor::new(acceptor.clone()).map_err(|_| ()),
|
move || ssl::OpensslAcceptor::new(acceptor.clone()).map_err(|_| ()),
|
||||||
DefaultPipelineFactory::new(
|
DefaultPipelineFactory::new(),
|
||||||
self.factory.clone(),
|
|
||||||
self.host.clone(),
|
|
||||||
addr,
|
|
||||||
self.keep_alive,
|
|
||||||
),
|
|
||||||
)),
|
)),
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -440,12 +435,7 @@ where
|
|||||||
handler: Box::new(HttpServiceBuilder::new(
|
handler: Box::new(HttpServiceBuilder::new(
|
||||||
self.factory.clone(),
|
self.factory.clone(),
|
||||||
move || ssl::OpensslAcceptor::new(accpt.clone()).map_err(|_| ()),
|
move || ssl::OpensslAcceptor::new(accpt.clone()).map_err(|_| ()),
|
||||||
DefaultPipelineFactory::new(
|
DefaultPipelineFactory::new(),
|
||||||
self.factory.clone(),
|
|
||||||
self.host.clone(),
|
|
||||||
addr,
|
|
||||||
self.keep_alive,
|
|
||||||
),
|
|
||||||
)),
|
)),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user