Skip to content

2.6 jetty http2 http3 #1457

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

Open
wants to merge 4 commits into
base: 2.6
Choose a base branch
from
Open

2.6 jetty http2 http3 #1457

wants to merge 4 commits into from

Conversation

thboileau
Copy link
Contributor

The aim

Currently only the support of http2

Check-list

  • PR size
    • Under 300 lines ✅
    • Can't be split without complicating the process even more
  • Tests
    • Added
    • Not applicable (why?)
  • Doc
    • Added
    • Not applicable
  • Reviewer
    • Asked for a review
    • Added label DO NOT REVIEW

@thboileau thboileau requested a review from jlouvel April 6, 2025 14:28
@thboileau thboileau changed the base branch from 2.5 to 2.6 April 6, 2025 14:28
@thboileau thboileau force-pushed the 2.6_jetty-http2-http3 branch from e15ec0d to 7d30753 Compare April 6, 2025 14:43
Copy link
Member

@jlouvel jlouvel left a comment

Choose a reason for hiding this comment

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

Looks great overall, a few minor comments added

* <tr>
* <td>http.transport.mode</td>
* <td>string</td>
* <td>http1</td>
Copy link
Member

Choose a reason for hiding this comment

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

@thboileau Could we use "HTTP1_1" and "HTTP2" for consistency with the protocol version and client-side parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, thanks

* <tr>
* <td>http.transport.protocols</td>
* <td>string</td>
* <td>http1</td>
Copy link
Member

Choose a reason for hiding this comment

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

Same comment about "HTTP1_1"

* @return a keystore.
* @throws Exception
*/
private static KeyStore loadKeyStore(String path, String provider, String type, char[] password) throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

Could this method be non static and protected to allow overridding?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, thanks


@Override
public void stop() throws Exception {
getLogger().info("Stopping the Jetty " + getProtocols() + " server on port " + getHelped().getPort());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi @jlouvel I see that the number of spaces for a tab is 8 with my Eclipse installation.
Do you see the same?

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.

2 participants