DescriptionAdd a delay when unlocking WebSocket endpoints.
The synchronous nature of endpoint unlocks for WebSocket throttling permits
denial-of-service attacks. Make it asynchronous, and add a small delay to
make attack timing harder.
BUG=442756
TEST=net_unittests, layout tests
Committed: https://crrev.com/bafe0f29a763c8325690cbdc42c29fc54d487d4f
Cr-Commit-Position: refs/heads/master@{#312774}
Patch Set 1 #Patch Set 2 : Small fixes. #Patch Set 3 : Nit-pick fixes. #
Total comments: 2
Patch Set 4 : Add a "Scoped" prefix to WebSocketEndpointZeroUnlockDela #
Total comments: 7
Patch Set 5 : Document WebSocketEndpointLockManager #
Messages
Total messages: 18 (3 generated)
|