Skip to content

How does aioquic handle IP addr changes? #491

Answered by rthalley
hari-19 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hari-19
Comment options

@rthalley
Comment options

@hari-19
Comment options

Answer selected by hari-19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants