Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router: add regex substitution to header hashing #11819

Merged
merged 6 commits into from
Jul 2, 2020

Conversation

rgs1
Copy link
Member

@rgs1 rgs1 commented Jun 30, 2020

Commit Message:
Extend hashing via header to support regex substitution.

Additional Description:
This is useful when you need to hash on a transformation
of a header value (e.g.: extract a part of :path).

Fixes #11811

Risk Level: low
Testing: unit test added
Docs Changes: none
Release Notes: added

Signed-off-by: Raul Gutierrez Segales [email protected]

This is useful when you need to hash on a transformation
of a header value (e.g.: extract a part of `:path`).

Fixes envoyproxy#11811

Signed-off-by: Raul Gutierrez Segales <[email protected]>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #11819 was opened by rgs1.

see: more, trace.

snowp
snowp previously approved these changes Jun 30, 2020
Copy link
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@htuch
Copy link
Member

htuch commented Jun 30, 2020

/lgtm api

Sort.

Signed-off-by: Raul Gutierrez Segales <[email protected]>
@rgs1
Copy link
Member Author

rgs1 commented Jul 1, 2020

Hmm failure looks unrelated (on the windows build):

 //test/integration:cx_limit_integration_test                             FAILED in 300.7s

@rgs1
Copy link
Member Author

rgs1 commented Jul 1, 2020

Another unrelated timeout:

//test/integration:http2_integration_test                               TIMEOUT in 327.6s
  /build/tmp/_bazel_bazel/b570b5ccd0454dc9af9f65ab1833764d/execroot/envoy/bazel-out/k8-dbg/testlogs/test/integration/http2_integration_test/test.log

@dio
Copy link
Member

dio commented Jul 1, 2020

re: windows: 83841da

@dio
Copy link
Member

dio commented Jul 1, 2020

re: timeout, probably this one: #11842.

@dio
Copy link
Member

dio commented Jul 2, 2020

/azp run envoy-presubmit

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@dio dio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@snowp snowp merged commit 73fc620 into envoyproxy:master Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extend route's hashing policy to support hashing on a regex substitution
4 participants