-
Notifications
You must be signed in to change notification settings - Fork 851
Add support for tunnel route config that has both match group and port variable #9594
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
Add support for tunnel route config that has both match group and port variable #9594
Conversation
bneradt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this @lzx404243.
cmcfarlen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation could better match the code and I feel the code should handle the case where both port strings appear (even if that means a warning or error).
|
I'll defer to @brbzull0 and @cmcfarlen but otherwise I think it's fine. |
2cab5f2 to
d3142a0
Compare
cmcfarlen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new code to add the function is a little hard to read imo.
cmcfarlen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for cleaning that up.
…t variable (apache#9594) (apache#804) Conflicts: doc/admin-guide/files/sni.yaml.en.rst iocore/net/P_SNIActionPerformer.h tests/gold_tests/tls/tls_tunnel.test.py Co-authored-by: Zhengxi Li <zli11@yahooinc.com>
This PR adds support for the
tunnel_routeconfiguration that contains both the regex match group number and the port variable specification, such as the followingPrior to this PR, only one of the match group specification or port variable specification can be used in the
tunnel_routeconfiguration.