-
QUIC is supposed to have connection migration benefits. How is it implemented in aioquic. Are there any APIs to manually trigger and IP change in a multi-IP device? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
aioquic follows the protocol (RFC 9000 section 9). Basically if a client changes the address it is sending from, the connection will migrate automatically. In the asyncio implementation that aioquic provides, there is no API for changing the socket, so you can't trigger manually. If you took more control of the I/O yourself and just used aioquic's I/O-less state machine, then if you changed the address you were sending on it should migrate automatically, but I haven't tried this myself. |
Beta Was this translation helpful? Give feedback.
aioquic follows the protocol (RFC 9000 section 9). Basically if a client changes the address it is sending from, the connection will migrate automatically. In the asyncio implementation that aioquic provides, there is no API for changing the socket, so you can't trigger manually. If you took more control of the I/O yourself and just used aioquic's I/O-less state machine, then if you changed the address you were sending on it should migrate automatically, but I haven't tried this myself.