-
Notifications
You must be signed in to change notification settings - Fork 1k
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
UNDERTOW-1881 - Add a new exchange attribute for SSL/TLS protocol version #1707
base: main
Are you sure you want to change the base?
Conversation
65a8037
to
34742ad
Compare
Shouldnt this be aiming towards main? |
Perhaps. I couldn't remember where they're supposed to go, but I think you're right. We target main, and @fl4via backports as needed? I'll update the target... |
34742ad
to
a075265
Compare
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.
As is its fine, however given comment from @msfm : https://issues.redhat.com/browse/UNDERTOW-1881?focusedId=16067599&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16067599
Im not 100% sure this will work in all cases?
a075265
to
ce086de
Compare
0e9b731
to
9ce8420
Compare
…ersion Add and register new ExchangeAttribute implementation Add support for AJP and TLS Add test case
9ce8420
to
f8e3988
Compare
@@ -234,7 +234,7 @@ public void run() { | |||
* <p> | |||
* DO NOT USE THIS OUTSIDE OF A TEST | |||
*/ | |||
void awaitWrittenForTest() throws InterruptedException { | |||
protected void awaitWrittenForTest() throws InterruptedException { |
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.
Im not keen on this. Maybe just ping pong request and set special header to attribute value?
https://github.com/undertow-io/undertow/blob/main/core/src/test/java/io/undertow/server/handlers/SetAttributeTestCase.java
String sslProtocol = null; | ||
String transportProtocol = exchange.getConnection().getTransportProtocol(); | ||
if ("ajp".equals(transportProtocol)) { | ||
// TODO: wrong |
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.
Whats the correct way?
https://issues.redhat.com/browse/UNDERTOW-1881
Add and register new ExchangeAttribute implementation