mirror of
https://github.com/actix/actix-web.git
synced 2025-01-11 09:45:32 +00:00
fix ssl tests
This commit is contained in:
parent
3173c9fa83
commit
0bca21ec6d
1 changed files with 2 additions and 12 deletions
|
@ -295,12 +295,7 @@ where
|
|||
handler: Box::new(HttpServiceBuilder::new(
|
||||
self.factory.clone(),
|
||||
move || ssl::OpensslAcceptor::new(acceptor.clone()).map_err(|_| ()),
|
||||
DefaultPipelineFactory::new(
|
||||
self.factory.clone(),
|
||||
self.host.clone(),
|
||||
addr,
|
||||
self.keep_alive,
|
||||
),
|
||||
DefaultPipelineFactory::new(),
|
||||
)),
|
||||
});
|
||||
|
||||
|
@ -440,12 +435,7 @@ where
|
|||
handler: Box::new(HttpServiceBuilder::new(
|
||||
self.factory.clone(),
|
||||
move || ssl::OpensslAcceptor::new(accpt.clone()).map_err(|_| ()),
|
||||
DefaultPipelineFactory::new(
|
||||
self.factory.clone(),
|
||||
self.host.clone(),
|
||||
addr,
|
||||
self.keep_alive,
|
||||
),
|
||||
DefaultPipelineFactory::new(),
|
||||
)),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue