proxmox/proxmox-rest-server/src
Dominik Csapak 2ce3e5fb78 rest-server: use hypers AddrIncoming for proxmox-backup-api
this has a 'from_listener' (tokio::net::TcpListener) since hyper 0.14.5 in
the 'tcp' feature (we use 'full', which includes that; since 0.14.13
it is not behind a feature flag anymore).

this makes it possible to create a hyper server without our
'StaticIncoming' wrapper and thus makes it unnecessary.

The only other thing we have to do is to change the Service impl from
tokio::net::TcpStream to hyper::server::conn::AddStream to fulfill the trait
requirements.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-29 09:38:40 +02:00
..
api_config.rs rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
command_socket.rs move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace 2021-09-21 08:46:41 +02:00
compression.rs move src/tools/compression.rs to proxmox-rest-server crate 2021-09-21 08:46:41 +02:00
daemon.rs proxmox-rest-server: cleanup formatter, improve docs 2021-09-28 07:45:50 +02:00
environment.rs rest server: cleanup auth-log handling 2021-09-21 08:46:41 +02:00
file_logger.rs move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace 2021-09-21 08:46:41 +02:00
formatter.rs ExtJsFormatter: use ParameterError to correctly compute 'errors' 2021-09-28 10:19:55 +02:00
h2service.rs proxmox-rest-server: cleanup formatter, improve docs 2021-09-28 07:45:50 +02:00
lib.rs proxmox-rest-server: cleanup formatter, improve docs 2021-09-28 07:45:50 +02:00
rest.rs rest-server: use hypers AddrIncoming for proxmox-backup-api 2021-09-29 09:38:40 +02:00
state.rs move ApiConfig, FileLogger and CommandoSocket to proxmox-rest-server workspace 2021-09-21 08:46:41 +02:00
worker_task.rs WorkerTaskContext: add shutdown_requested() and fail_on_shutdown() 2021-09-24 12:04:31 +02:00