How to change the QUIC version in Cronet ? I want the h3-29

427 views
Skip to first unread message

Sumin Duan

unread,
Dec 4, 2020, 12:44:02 AM12/4/20
to QUIC Prototype Protocol Discussion group
I run the cronet native sample, but  its QUIC version is "gQUIC"( google Q050),  not the IETF draft. 
I want an IETF draft version of QUIC (eg:h3-29) instead of a Google QUIC version.
How I can change the QUIC version?

Nick Harper

unread,
Dec 4, 2020, 1:55:03 AM12/4/20
to proto...@chromium.org
You'll need a "QUIC": {"quic_version": "h3-29"} entry in your experimental options JSON dictionary.

--
You received this message because you are subscribed to the Google Groups "QUIC Prototype Protocol Discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proto-quic+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/proto-quic/2c57bf45-e9e4-48e8-96ed-a72e11b9b708n%40chromium.org.
Message has been deleted

Sumin Duan

unread,
Dec 4, 2020, 4:01:10 AM12/4/20
to QUIC Prototype Protocol Discussion group, nha...@chromium.org
Thx, after adding this sentence:
Cronet_EngineParams_experimental_options_set(engine_params,"{\"QUIC\":{\"quic_version\":\"h3-29\"}}"); 
in  CreateCronetEngine(), the version in client hello is Version: draft-29 (0xff00001d).

But fail to connect the server. 




Sumin Duan

unread,
Dec 4, 2020, 4:59:15 AM12/4/20
to QUIC Prototype Protocol Discussion group, Sumin Duan, nha...@chromium.org
Fail to connect the server:

Frame 8776: 88 bytes on wire (704 bits), 88 bytes captured (704 bits) on interface lo0, id 0
Null/Loopback
Internet Protocol Version 6, Src: ::1, Dst: ::1
User Datagram Protocol, Src Port: 9005, Dst Port: 62934
QUIC IETF
    QUIC Connection information
    [Packet Length: 36]
    1... .... = Header Form: Long Header (1)
    .1.. .... = Fixed Bit: True
    ..00 .... = Packet Type: Initial (0)
    .... 00.. = Reserved: 0
    .... ..01 = Packet Number Length: 2 bytes (1)
    Version: draft-29 (0xff00001d)
    Destination Connection ID Length: 0
    Source Connection ID Length: 4
    Source Connection ID: 707156c3
    Token Length: 0
    Length: 23
    Packet Number: 1
    Payload: be8c622ea5f7cd7392ad3c8bd1e7dd99c4a27c69a4
    CONNECTION_CLOSE (Transport) Error code: CRYPTO_ERROR (Internal Error)
        Frame Type: CONNECTION_CLOSE (Transport) (0x000000000000001c)
        Error code: CRYPTO_ERROR (336)
        TLS Alert Description: Internal Error (80)
        Frame Type: 0
        Reason phrase Length: 0
        Reason phrase: 

Su

unread,
Dec 8, 2020, 2:50:23 AM12/8/20
to QUIC Prototype Protocol Discussion group, Su, nha...@chromium.org
it's my fault. I set up a proxy. Drop the proxy,  then it works
Reply all
Reply to author
Forward
0 new messages