-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
OF-2773 QUIC support #3251
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
Draft
dwd
wants to merge
36
commits into
igniterealtime:main
Choose a base branch
from
dwd:quic
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,948
−37
Draft
OF-2773 QUIC support #3251
Changes from 6 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
09630f0
Introduce QUIC C2S listener type and core lifecycle wiring
dwd 34a9b54
Add admin console support for QUIC client listener configuration
dwd 30430d4
Implement QUIC C2S transport bootstrap and pipeline wiring
dwd 21fc6c6
Add regression tests for NettyConnection QUIC address resolution
dwd 764fbf3
Fix QUIC ALPN negotiation for C2S and make ALPN configurable
dwd c754a2c
Use QUIC remote socket address for session IP resolution
dwd aabe181
Add QUIC multi-stream session handling and outbound stream routing
dwd 1942edd
Fix QUIC multi-stream bugs: full pipeline on server-initiated streams…
dwd a271bf1
QUIC minor fixes: consistent concurrency, safe outbound-stream defaul…
dwd c2eeebf
QUIC aux streams: eliminate client stream-open requirement
dwd 60defc0
QUIC: add transport-parameter startup logging and qlog support
dwd 7e8c839
QUIC: log every inbound stream open and primary/aux classification
dwd 9a43648
QUIC: log connection-level stream credits and stream-limit-changed ev…
dwd ff643b4
QUIC aux streams: no stream-open exchange on either side
dwd 9295dbc
QUIC: do not advertise/negotiate XEP-0198 stream management over QUIC
dwd 7973bca
QUIC: pin top-level non-stanza writes (deliverRawText) to stream id 0
dwd b21f0be
QUIC: lower default idle timeout to 600s per XEP-0467 §2 (#8)
dwd 784506a
QUIC admin: expose max-outbound-streams, ALPN and qlog dir in admin p…
dwd a867247
QUIC: fix stream:error on wrong stream and spurious keepalive timeout…
dwd e9b612f
QUIC: disable application-level idle timeout; rely on QUIC transport …
dwd d9e4125
QUIC: remove app-level WriteTimeoutHandler from stream pipelines
dwd 8f9a56a
QUIC: enable aux-stream sharding by default (max-outbound-streams 0 -…
dwd fe24a63
QUIC: prefer reusing unallocated client-initiated streams before open…
dwd aca997a
QUIC admin: merge QUIC settings into the Client Connections page as a…
dwd be6e9a9
QUIC admin: surface QUIC connection details on session-details page
dwd 2a2d13a
Replace InsecureQuicTokenHandler with HmacQuicTokenHandler
dwd 745337f
QUIC migration Phase 1+3: session registry and path-event handling
dwd 7cb0b09
QUIC migration Phase 2+6: v2 DCID-bound tokens and migration-enabled …
dwd 15c6d4e
Update plan-quic-migration.md with implementation status
dwd e59cccf
Expand QUIC native platform coverage to all five supported targets
dwd 3fa7afb
Surface Quic.isAvailable() in admin console QUIC settings panel
dwd b60bd86
Extend QUIC support to S2S (federation)
dwd d1c4208
Add outbound QUIC S2S and admin console settings page
dwd 0228f61
Add WebTransport/h3 C2S and shared-port ALPN multiplexing for QUIC
dwd c9fcd8a
Document ports in Dockerfile EXPOSE
dwd 852c365
Fix QUIC CID authentication failure in HmacQuicTokenHandler
dwd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
xmppserver/src/main/java/org/jivesoftware/openfire/nio/QuicClientConnectionHandler.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| /* | ||
| * Copyright (C) 2026 Ignite Realtime Foundation. All rights reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| package org.jivesoftware.openfire.nio; | ||
|
|
||
| import io.netty.channel.ChannelHandlerContext; | ||
| import org.jivesoftware.openfire.spi.ConnectionConfiguration; | ||
|
|
||
| /** | ||
| * C2S business-logic handler for QUIC channels. | ||
| */ | ||
| public class QuicClientConnectionHandler extends NettyClientConnectionHandler | ||
| { | ||
| public QuicClientConnectionHandler(final ConnectionConfiguration configuration) | ||
| { | ||
| super(configuration); | ||
| } | ||
|
|
||
| @Override | ||
| NettyConnection createNettyConnection(final ChannelHandlerContext ctx) | ||
| { | ||
| final NettyConnection connection = super.createNettyConnection(ctx); | ||
| connection.setEncrypted(true); // QUIC always runs on top of TLS. | ||
| return connection; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This only works on (certain flavors of) Linux? Can this be made working on Windows? Alternatively, do things crash and burn when loaded on Windows? Should we have some kind of detection mechanism that gracefully informs an administrator if and why QUIC support is (un)available?
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.
Oh, apparently... The underlying library (Quiche) should work fine on Windows etc though. I'll look into getting it built on as many platforms as possible.