Skip to content

Commit

Permalink
add hq29 ALPN
Browse files Browse the repository at this point in the history
  • Loading branch information
kota-yata committed Jul 21, 2024
1 parent 0d05fa1 commit c1f4abe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions examples/http3_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,11 @@ async def main(
action="store_true",
help="start with QUIC v1 and try to negotiate QUIC v2",
)
parser.add_argument(
"--dtn",
action="store_true",
help="enable DTN mode",
)

parser.add_argument(
"--output-dir",
Expand Down Expand Up @@ -538,12 +543,6 @@ async def main(
parser.add_argument(
"--zero-rtt", action="store_true", help="try to send requests using 0-RTT"
)
parser.add_argument(
"--dtn",
type=bool,
default=False,
help="enable DTN mode",
)

args = parser.parse_args()

Expand Down
2 changes: 1 addition & 1 deletion src/aioquic/h0/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from aioquic.quic.connection import QuicConnection
from aioquic.quic.events import QuicEvent, StreamDataReceived

H0_ALPN = ["hq-interop"]
H0_ALPN = ["hq-interop", "hq-29"]


class H0Connection:
Expand Down

0 comments on commit c1f4abe

Please sign in to comment.