Question for QUIC Feature with preferred address migration #503
-
Dear authors, I am a relatively new user of both QUIC and aioquic. Based on RFC 9000 Section 9.6, there is a possible migration on the server side to migrate the whole connection into the server's preferred address. Is it possible for someone could point out this part of the code in aioquic for me? I have searched in the aioquic package and can only find keyword "preferred_address" in packet.py (here) and once in connection.py (here). None of the above seems to be migration with my limited understanding. Please correct me if I am wrong on this. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
As far as I can tell from the source, we currently have support for encoding and decoding, and we check that if it is present in the transport parameters that we are not a server. I don't see any way (if we are a server) to cause it to be transmitted, nor do I see the client preserving the information and delivering it as an event, which I presume would be needed if the client application were going to consider taking the advice. So to summarize: if we see it we can parse it but we ignore it unless we're a server in which case it is an error; we don't send it. I defer to Jeremy if I have missed anything! |
Beta Was this translation helpful? Give feedback.
Your interpretation of the spec is correct, we just don't implement it yet.