alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.64k stars 326 forks source link

How to use the connection migration #366

Closed LLL2000L closed 7 months ago

LLL2000L commented 7 months ago

How can I use the connection migration feature or see the effect of QUIC connection migration? I would appreciate your guidance. Thank you.

yangfurong commented 7 months ago

Currently, XQUIC only supports passive migration. That said, the connection is able to survive from the change of the underlying network address. There are test options in test_client and demo_client to test that feature (e.g., the -e option in demo_client).

For active migration (e.g., migrating a path from a Wi-Fi interface to a cellular interface), we suggest you use XQUIC's multipath feature (e.g., creating a new path over the new interface and closing the old one).