mirror of
https://github.com/actix/actix-web.git
synced 2024-12-30 12:00:38 +00:00
fix non-ssl connector
This commit is contained in:
parent
6decfdda1f
commit
9f421b81b8
1 changed files with 2 additions and 2 deletions
|
@ -319,8 +319,8 @@ mod connect_impl {
|
|||
self.tcp_pool.poll_ready()
|
||||
}
|
||||
|
||||
fn call(&mut self, req: Uri) -> Self::Future {
|
||||
match req.scheme_str() {
|
||||
fn call(&mut self, req: Connect) -> Self::Future {
|
||||
match req.uri.scheme_str() {
|
||||
Some("https") | Some("wss") => {
|
||||
Either::B(err(ConnectError::SslIsNotSupported))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue