From 0e0ae38f6d869c55c3a0cbf87ffebd04cee35846 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 7 May 2017 10:59:16 -0700 Subject: [PATCH] Default transport to HTTPS This protects private data when used over the public Internet. Users can opt-in to unencrypted HTTP if they need additional performance on a local network. Fixes #282. --- src/s3fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index c63c446..827002f 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -91,7 +91,7 @@ bool pathrequeststyle = false; bool complement_stat = false; std::string program_name; std::string service_path = "/"; -std::string host = "http://s3.amazonaws.com"; +std::string host = "https://s3.amazonaws.com"; std::string bucket = ""; std::string endpoint = "us-east-1"; std::string cipher_suites = "";