Skip to content

Commit

Permalink
Update neqo-bin/src/client/http09.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Thomson <mt@lowentropy.net>
Signed-off-by: Lars Eggert <lars@eggert.org>
  • Loading branch information
larseggert and martinthomson authored Oct 21, 2024
1 parent c97782b commit 6a37f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neqo-bin/src/client/http09.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl super::Handler for Handler<'_> {
}
}
ConnectionEvent::StateChange(State::Confirmed) => {
if let Some((local_port, migration_addr)) = &self.migration {
if let Some((local_port, migration_addr)) = self.migration.take() {
let local_addr = local_addr_for(migration_addr, *local_port);
qdebug!("Migrating path to {:?} -> {:?}", local_addr, migration_addr);
client
Expand Down

0 comments on commit 6a37f02

Please sign in to comment.