Skip to content

Commit ac40e2e

Browse files
apply suggestions
Co-authored-by: Thijs Schreijer <[email protected]>
1 parent 12e1f38 commit ac40e2e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ Release process:
150150
1. upload using: `VERSION=x.y.z APIKEY=abc... make upload`
151151
1. test installing the rock from LuaRocks
152152

153+
### 1.1.2 (5-Dec-2022)
154+
155+
- fix: auto detection scheme and default to tls [#42](https://github.com/Kong/lua-resty-aws/pull/42)
156+
153157
### 1.1.1 (21-Nov-2022)
154158

155159
- fix: port is repeated when port is not standard [#39](https://github.com/Kong/lua-resty-aws/pull/39)

src/resty/aws/request/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ local function get_host_port(config)
7979
local scheme = config.scheme
8080
if s then
8181
scheme = scheme or endpoint:sub(1, s-1):lower()
82+
-- the "globalSSL" one from the region_config_data file
8283
endpoint = endpoint:sub(e+1, -1)
8384
end
8485

8586
scheme = scheme or "https"
8687
config.scheme = scheme
8788

88-
-- the "globalSSL" one from the region_config_data file
8989
if config.tls == nil then
9090
config.tls = scheme == "https"
9191
end

0 commit comments

Comments
 (0)