proxmox-backup/src/client
Stefan Reiter 4799280ccd http_client: add timeouts for critical connects
Use timeout futures for sections that might hang in certain error
conditions. This is mostly intended to be used as a safeguard, not a
first line of defense - i.e. best-effort avoidance of total hangs.

Not every future used for the HttpClient/H2Client is changed, only those
where a quick response is to be expected. For example, the response
reading futures are left alone, so data transfer is never capped with
timeout, only the initial server connect.

It is also used for upgrading to H2 connections, as that can take a long
time on overloaded servers.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-12-22 13:31:10 +01:00
..
backup_reader.rs client/remote: add support to specify port number 2020-09-30 10:49:20 +02:00
backup_repo.rs client/remote: allow using ApiToken + secret 2020-10-29 15:14:27 +01:00
backup_specification.rs src/client/backup_specification.rs: split code into extra file 2020-05-30 10:54:38 +02:00
backup_writer.rs expose previous backup time in backup env 2020-11-24 08:44:55 +01:00
http_client.rs http_client: add timeouts for critical connects 2020-12-22 13:31:10 +01:00
merge_known_chunks.rs use pin-project to remove more unsafe blocks 2020-11-12 09:43:38 +01:00
pipe_to_stream.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
pull.rs client/pull: log how many groups to pull were found 2020-12-02 07:22:50 +01:00
pxar_backup_stream.rs pxar: remove unused parameter 2020-10-14 11:32:22 +02:00
remote_chunk_reader.rs remote_chunk_reader.rs: use Arc for cache_hint to make clone faster 2020-09-22 11:39:31 +02:00
task_log.rs fix systemd-encoded upid strings in http client 2020-11-19 11:01:19 +01:00