This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.1.x by this push:
new 8316204 Disables "virtual host not used with AWS auth v4" error in
s3_auth
8316204 is described below
commit 8316204f0ab7dfd0fd6c27500908275f42d24dc0
Author: Randall Meyer <[email protected]>
AuthorDate: Thu Mar 19 14:52:26 2020 -0700
Disables "virtual host not used with AWS auth v4" error in s3_auth
This would error on every request
(cherry picked from commit 05556de2a3b06400e7f587ab4accf1cbf8b2a88e)
---
plugins/s3_auth/s3_auth.cc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/plugins/s3_auth/s3_auth.cc b/plugins/s3_auth/s3_auth.cc
index 6814859..242d5fe 100644
--- a/plugins/s3_auth/s3_auth.cc
+++ b/plugins/s3_auth/s3_auth.cc
@@ -202,9 +202,7 @@ public:
}
} else {
/* 4 == _version */
- if (_virt_host_modified) {
- TSError("[%s] virtual host not used with AWS auth v4, parameter
ignored", PLUGIN_NAME);
- }
+ // NOTE: virtual host not used with AWS auth v4, parameter ignored
}
return true;
}