Skip to content

Commit

Permalink
Copy a missing field in QuicServerCodecBuilder's copy constructor (#641)
Browse files Browse the repository at this point in the history
Motivation:
QuicServerCodecBuilder's copy constructor doesn't copy
resetTokenGenerator

Modification:
- Copy resetTokenGenerator when QuicServerCodecBuilder's copy
constructor is used

Result:
QuicServerCodecBuilder's copy constructor copies all fields
  • Loading branch information
simonatan authored Jan 12, 2024
1 parent bdf113d commit ad8362a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ private QuicServerCodecBuilder(QuicServerCodecBuilder builder) {
streamHandler = builder.streamHandler;
connectionIdAddressGenerator = builder.connectionIdAddressGenerator;
tokenHandler = builder.tokenHandler;
resetTokenGenerator = builder.resetTokenGenerator;
}

@Override
Expand Down

0 comments on commit ad8362a

Please sign in to comment.