pub(super) async fn http_proxy(
sender: SendRequest,
connection_pool_item: Item<(UpstreamInner, Option<IpAddr>), SendRequestWrapper>,
proxy_request: Request<BoxBody<Bytes, Error>>,
error_logger: &ErrorLogger,
proxy_intercept_errors: bool,
tracked_connection: Option<Arc<()>>,
enable_keepalive: bool,
) -> Result<ResponseData, Box<dyn Error + Send + Sync>>Expand description
Forwards an HTTP request to a backend server.