Prithvi S created HDDS-17203:
--------------------------------
Summary: Avoid regex String.split when parsing SigV4 Authorization
headers
Key: HDDS-17203
URL: https://issues.apache.org/jira/browse/HDDS-17203
Project: Apache Ozone
Issue Type: Improvement
Components: S3
Reporter: Prithvi S
AuthorizationV4HeaderParser.parseSignature splits the header with
String.split(", *") on every signed S3 request. That compiles a regex each time.
Split on ',' and trim the parts instead, same idea as HDDS-16749. Behavior
stays the same.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]