mirror of https://github.com/fafhrd91/actix-web
update changelog
This commit is contained in:
parent
5a68579c06
commit
a51fb56a6c
|
@ -1,10 +1,16 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
|
### Added
|
||||||
|
* `client::Connector::handshake_timeout` method for customize tls connection handshake timeout. [#2081]
|
||||||
|
* `client::ConnectorService` as `client::Connector::finish` method's return type [#2081]
|
||||||
|
* `client::ConnectionIo` trait alias [#2081]
|
||||||
|
|
||||||
### Chaged
|
### Chaged
|
||||||
* `client::Connector` type now only have one generic type for `actix_service::Service`. [#2063]
|
* `client::Connector` type now only have one generic type for `actix_service::Service`. [#2063]
|
||||||
|
|
||||||
[#2063]: https://github.com/actix/actix-web/pull/2063
|
[#2063]: https://github.com/actix/actix-web/pull/2063
|
||||||
|
[#2081]: https://github.com/actix/actix-web/pull/2081
|
||||||
|
|
||||||
|
|
||||||
## 3.0.0-beta.4 - 2021-03-08
|
## 3.0.0-beta.4 - 2021-03-08
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
|
### Changed
|
||||||
|
* `ConnectorService` type is renamed to `BoxConnectorService` [#2081]
|
||||||
|
|
||||||
|
[#2081]: https://github.com/actix/actix-web/pull/2081
|
||||||
|
|
||||||
|
|
||||||
## 3.0.0-beta.3 - 2021-03-08
|
## 3.0.0-beta.3 - 2021-03-08
|
||||||
|
|
|
@ -143,14 +143,14 @@ where
|
||||||
let fut = ConnectRequestFuture::Client {
|
let fut = ConnectRequestFuture::Client {
|
||||||
fut: connection.send_request(head, body),
|
fut: connection.send_request(head, body),
|
||||||
};
|
};
|
||||||
self.as_mut().set(fut);
|
self.set(fut);
|
||||||
}
|
}
|
||||||
ConnectRequest::Tunnel(head, ..) => {
|
ConnectRequest::Tunnel(head, ..) => {
|
||||||
// send request
|
// send request
|
||||||
let fut = ConnectRequestFuture::Tunnel {
|
let fut = ConnectRequestFuture::Tunnel {
|
||||||
fut: connection.open_tunnel(RequestHeadType::from(head)),
|
fut: connection.open_tunnel(RequestHeadType::from(head)),
|
||||||
};
|
};
|
||||||
self.as_mut().set(fut);
|
self.set(fut);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
self.poll(cx)
|
self.poll(cx)
|
||||||
|
|
Loading…
Reference in New Issue