Skip to content

Commit

Permalink
use the stateless reset key in control server
Browse files Browse the repository at this point in the history
  • Loading branch information
ingon committed Jan 16, 2025
1 parent 173c40d commit 93911cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion control/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ func (s *Server) runListener(ctx context.Context) error {

s.logger.Debug("start quic listener")
transport := &quic.Transport{
Conn: udpConn,
Conn: udpConn,
ConnectionIDLength: 8,
StatelessResetKey: s.statelessResetKey,
// TODO review other options
}
defer transport.Close()
Expand Down

0 comments on commit 93911cf

Please sign in to comment.