diff options
author | bnc <bnc@chromium.org> | 2014-10-24 11:40:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-24 18:40:55 +0000 |
commit | 0e2deda3f0c59c8fc18323ede48a552bef341c24 (patch) | |
tree | d93fbc8d74a43e737e0794f3b96b8ec642d66ca5 /mojo | |
parent | 74ebb86d7d2db716e905a67a161fa3e59b3445bd (diff) | |
download | chromium_src-0e2deda3f0c59c8fc18323ede48a552bef341c24.zip chromium_src-0e2deda3f0c59c8fc18323ede48a552bef341c24.tar.gz chromium_src-0e2deda3f0c59c8fc18323ede48a552bef341c24.tar.bz2 |
Code cleanup of control frame size enforcement.
Introduce kMaxControlFrameSize global const for fragmenting outgoing frames.
Get rid of GetControlFrameBufferMaxSize() and GetHeaderFragmentMaxSize() inline
members. Motivation is to converge with server side code.
Only functional change is to decrease control frame fragment size to 1 kB for
SPDY. Since frame headers are tiny, this causes little overhead. Also,
incoming control frame size limit is now properly enforced (there was an
incorrect offset by frame header size before).
This CL lands server change 78267288 among other modifications.
Review URL: https://codereview.chromium.org/675863002
Cr-Commit-Position: refs/heads/master@{#301154}
Diffstat (limited to 'mojo')
0 files changed, 0 insertions, 0 deletions