mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
Merge pull request #3060 from lucas-clemente/check-active-conn-id-limit-for-0rtt
only accept 0-RTT it the active_connection_id_limit didn't change
This commit is contained in:
commit
c802ebe026
2 changed files with 17 additions and 17 deletions
|
@ -446,7 +446,8 @@ func (p *TransportParameters) ValidFor0RTT(tp *TransportParameters) bool {
|
|||
p.InitialMaxStreamDataUni == tp.InitialMaxStreamDataUni &&
|
||||
p.InitialMaxData == tp.InitialMaxData &&
|
||||
p.MaxBidiStreamNum == tp.MaxBidiStreamNum &&
|
||||
p.MaxUniStreamNum == tp.MaxUniStreamNum
|
||||
p.MaxUniStreamNum == tp.MaxUniStreamNum &&
|
||||
p.ActiveConnectionIDLimit == tp.ActiveConnectionIDLimit
|
||||
}
|
||||
|
||||
// String returns a string representation, intended for logging.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue