DescriptionImplement MAX_CONCURRENT_STREAMS SETTINGS header
This CL helps chrome respect the SETTINGS header
MAX_CONCURRENT_STREAMS. Note that this means that
SpdySession::CreateStream can now return ERR_IO_PENDING, so it
requires a callback. There's a noted TODO that if an
http_network_transaction dissapears betweeen STATE_SPDY_GET_STREAM and
STATE_SPDY_SEND_REQUEST I don't know if we end up with an orphan stream
in our spdy_session.
As well, spdy_test_util.cc had a lot of functions with default arguments;
I didn't fix them all, but the functions I modified no longer take default
arguments and meet the coding standard. I'd like to circle back at some point
and possibly make the tests call SpdyFramer directly: these test utils seem
sometimes more trouble than they're worth if the framer was a bit more
convenient for direct use.
BUG=34750
TEST=net_unittests Spdy.ThreeGets*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52791
Patch Set 1 #
Total comments: 41
Patch Set 2 : remediate to Pawe and mbelshe's reviews #
Total comments: 16
Patch Set 3 : remediate to second review #
Total comments: 20
Patch Set 4 : fourth time's a charm for remediation #
Total comments: 8
Patch Set 5 : landing soon on a repo near you #
Messages
Total messages: 14 (0 generated)
|