# HG changeset patch # User Kim Alvefur # Date 1723058891 -7200 # Node ID f89367e421d1f652a7b9e9dc6baf522180919802 # Parent 97a9f939d472a3940a918065f6e1dfe2fd768351 mod_storage_s3: Inherit default HTTP client settings Here too diff -r 97a9f939d472 -r f89367e421d1 mod_storage_s3/mod_storage_s3.lua --- a/mod_storage_s3/mod_storage_s3.lua Wed Aug 07 17:59:14 2024 +0200 +++ b/mod_storage_s3/mod_storage_s3.lua Wed Aug 07 21:28:11 2024 +0200 @@ -114,7 +114,7 @@ if not mt then return nil, "unsupported-store"; end - local httpclient = http.new({ connection_pooling = true }); + local httpclient = http.default:new({ connection_pooling = true }); httpclient.events.add_handler("pre-request", aws_auth); return setmetatable({ store = store; bucket = bucket; type = typ; http = httpclient }, mt); end