From 114056bc76d7568e774c8c6d99e309850350b1cb Mon Sep 17 00:00:00 2001 From: Arve Seljebu Date: Mon, 10 Jun 2019 18:06:56 +0200 Subject: [PATCH] resolve issue 139 --- http-proxy/Cargo.toml | 2 +- http-proxy/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/http-proxy/Cargo.toml b/http-proxy/Cargo.toml index bcb8039..2a7beb8 100644 --- a/http-proxy/Cargo.toml +++ b/http-proxy/Cargo.toml @@ -15,7 +15,7 @@ path = "src/server.rs" [dependencies] actix-rt = "0.2" -actix-web = "1.0.0" +actix-web = { version = "1.0.0", features=["ssl"] } env_logger = "0.5" futures = "0.1" diff --git a/http-proxy/src/main.rs b/http-proxy/src/main.rs index e500bbe..ff45ef9 100644 --- a/http-proxy/src/main.rs +++ b/http-proxy/src/main.rs @@ -24,7 +24,7 @@ fn streaming( ) -> impl Future> { // send client request client - .get("https://www.rust-lang.org/en-US/") + .get("https://www.rust-lang.org/") .send() // <- connect to host and send request .map_err(Error::from) // <- convert SendRequestError to an Error .and_then(|resp| {