move tools::http to proxmox_http

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler authored and Dietmar Maurer committed 2021-05-17 10:31:54 +02:00
1 parent 4229633d98
commit 8c090937f5
5 files changed
+8 -205

No files matched your search

+3 -4
View File
@@ -20,6 +20,9 @@ use proxmox::{
tools::fs::{file_get_json, replace_file, CreateOptions},
};
use proxmox_http::http::client::HttpsConnector;
use proxmox_http::http::helpers::build_authority;
use super::pipe_to_stream::PipeToSendStream;
use crate::api2::types::{Authid, Userid};
use crate::tools::{
@@ -27,10 +30,6 @@ use crate::tools::{
BroadcastFuture,
DEFAULT_ENCODE_SET,
PROXMOX_BACKUP_TCP_KEEPALIVE_TIME,
http::{
build_authority,
HttpsConnector,
},
};
/// Timeout used for several HTTP operations that are expected to finish quickly but may block in