mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
deprecate HttpServer::no_http2(), update changes
This commit is contained in:
parent
5bd82d4f03
commit
85acc3f8df
11
CHANGES.md
11
CHANGES.md
@ -23,6 +23,17 @@
|
||||
|
||||
* Panic during access without routing being set #452
|
||||
|
||||
### Deprecated
|
||||
|
||||
* `HttpServer::no_http2()` is deprecated, use `OpensslAcceptor::with_flags()` or
|
||||
`RustlsAcceptor::with_flags()` instead
|
||||
|
||||
* `HttpServer::listen_tls()`, `HttpServer::listen_ssl()`, `HttpServer::listen_rustls()` have been
|
||||
deprecated in favor of `HttpServer::listen_with()` with specific `acceptor`.
|
||||
|
||||
* `HttpServer::bind_tls()`, `HttpServer::bind_ssl()`, `HttpServer::bind_rustls()` have been
|
||||
deprecated in favor of `HttpServer::bind_with()` with specific `acceptor`.
|
||||
|
||||
|
||||
## [0.7.3] - 2018-08-01
|
||||
|
||||
|
@ -181,6 +181,8 @@ where
|
||||
}
|
||||
|
||||
/// Disable `HTTP/2` support
|
||||
#[doc(hidden)]
|
||||
#[deprecated(since = "0.7.4", note = "please use acceptor service with proper ServerFlags parama")]
|
||||
pub fn no_http2(mut self) -> Self {
|
||||
self.no_http2 = true;
|
||||
self
|
||||
@ -655,6 +657,7 @@ impl<H: IntoHttpHandler> Handler<StopServer> for HttpServer<H> {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
fut::ok(())
|
||||
}),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user