DescriptionWeb MIDI: introduce pending client count limit to start sessions
Accepting infinite number of session start requests may exhaust memory.
Too many requests in a short period for finishing platform dependent
initialization can be assumed a malicious attack or something like that.
This change makes MIDIManager reject new requests once the pending
client count reaches the limit.
Note that try passed except for slow win_chromium_compile_dbg.
NOTRY=true
BUG=n/a
TEST=media_unittests --gtest_filter='MidiManagerTest.*'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268687
Patch Set 1 #
Total comments: 2
Patch Set 2 : more comments #Patch Set 3 : fix memory leak #
Total comments: 10
Patch Set 4 : review #2 #Patch Set 5 : one more fix #
Total comments: 2
Patch Set 6 : trybots with ScopedVector #Patch Set 7 : rebase #Patch Set 8 : INITIALIZATION should be received synchronously, others asynchronously #
Total comments: 2
Patch Set 9 : renames by #8 #
Messages
Total messages: 19 (0 generated)
|