generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Problem:
I'm trying to realize the connection migration related to UDP.
I found that there will exist two FDS on the same UDP port, the simplest test is as follows.
#[tokio::test]
async fn test() {
let server = Server::builder()
.with_tls((
std::path::Path::new("./certificates/www.example.org.cert.pem"),
std::path::Path::new("./certificates/www.example.org.key.pem"),
))
.unwrap()
.with_io("127.0.0.1:1443")
.unwrap()
.start()
.unwrap();
tokio::time::sleep(tokio::time::Duration::from_secs(60)).await;
drop(server);
}
I wonder to know how to make only one listener FD on single port.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested