Mercurial > hg-stable
comparison hg @ 37066:39304dd63589
wireproto: explicitly track which requests are active
We previously only tracked which requests are receiving. A
misbehaving client could accidentally have multiple requests with
the same ID in flight.
We now explicitly track which request IDs are currently active.
We make it illegal to receive a frame associated with a request
ID that has already been dispatched.
Differential Revision: https://phab.mercurial-scm.org/D2901
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 15 Mar 2018 18:05:49 -0700 |
parents | 163fa0aea71e |
children | 5e78c100a215 |
comparison
equal
deleted
inserted
replaced
37065:fe4c944f95bb | 37066:39304dd63589 |
---|