Skip to content

Commit f1bcf3b

Browse files
authored
Merge pull request #46 from anomalizer/pr-45
Newer regions have longer domain names
2 parents 6eea78f + 395f2c3 commit f1bcf3b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ language: c
33
env:
44
matrix:
55
# one separate build per nginx version
6-
- NGINX_VERSION=1.11.9
7-
- NGINX_VERSION=1.10.2
6+
#mainline verion
7+
- NGINX_VERSION=1.13.6
8+
#stable verions
9+
- NGINX_VERSION=1.12.1
10+
#legacy verions
11+
- NGINX_VERSION=1.10.3
812
- NGINX_VERSION=1.8.1
913
global:
1014
- NGX_PATH=~/nginx

aws_functions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static inline struct AwsCanonicalHeaderDetails ngx_aws_auth__canonize_headers(ng
202202

203203
header_ptr = ngx_array_push(settable_header_array);
204204
header_ptr->key = HOST_HEADER;
205-
header_ptr->value.len = s3_bucket->len + 40;
205+
header_ptr->value.len = s3_bucket->len + 60;
206206
header_ptr->value.data = ngx_palloc(pool, header_ptr->value.len);
207207
header_ptr->value.len = ngx_snprintf(header_ptr->value.data, header_ptr->value.len, "%V.%V", s3_bucket, s3_endpoint) - header_ptr->value.data;
208208

0 commit comments

Comments
 (0)