summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_buffer_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* [SPDY] Change semantics of SpdyBuffer::GetIOBufferForRemainingData()akalin@chromium.org2013-07-121-0/+14
| | | | | | | | | | | | | Make its return value be able to outlive the SpdyBuffer. This should fix the bug below. BUG=249725 R=rtenneti@chromium.org Review URL: https://codereview.chromium.org/18512009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211442 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Avoid leaking bytes from the session flow control send windowakalin@chromium.org2013-04-181-4/+11
| | | | | | | | | | | | | | Add a ConsumeSource parameter to SpdyBuffer::ConsumeCallback. Use it to detect when a DATA frame to be written is dropped before it is written. Put all the flow control functions together and clean them up a bit. BUG=176592 Review URL: https://chromiumcodereview.appspot.com/14188025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194851 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Avoid leaking bytes from the session flow control receive windowakalin@chromium.org2013-04-171-1/+29
| | | | | | | | | | | | | | | | Add a way to add ConsumeCallbacks to a SpdyBuffer in order to be notified when Consume() is called. Use that to ensure that flow control receive windows are updated appropriately regardless of what the SpdyStream's delegate does. Make IncreaseRevWindowSize private in both SpdyStream and SpdySession. BUG=176592 Review URL: https://codereview.chromium.org/14311002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194655 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Replace SpdyIOBuffer with new SpdyBuffer classakalin@chromium.org2013-04-171-0/+88
| | | | | | | | | | | | | | | | | | | Use SpdyBuffer for both SPDY reads and writes. A future CL will add hooks to SpdyBuffer so that we keep track of flow control windows properly. Replace SpdyFrameProducer with SpdyBufferProducer. Also introduce new SpdyReadQueue class for delegates of SpdyStream to use. BUG=176592 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194560 Review URL: https://codereview.chromium.org/13990005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194564 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 194560 "[SPDY] Replace SpdyIOBuffer with new SpdyBuffer c..."akalin@chromium.org2013-04-171-88/+0
| | | | | | | | | | | | | | | | | | | | | | | > [SPDY] Replace SpdyIOBuffer with new SpdyBuffer class > > Use SpdyBuffer for both SPDY reads and writes. A future > CL will add hooks to SpdyBuffer so that we keep track of > flow control windows properly. > > Replace SpdyFrameProducer with SpdyBufferProducer. > > Also introduce new SpdyReadQueue class for delegates > of SpdyStream to use. > > BUG=176592 > > Review URL: https://codereview.chromium.org/13990005 TBR=akalin@chromium.org Review URL: https://codereview.chromium.org/13996009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194562 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Replace SpdyIOBuffer with new SpdyBuffer classakalin@chromium.org2013-04-171-0/+88
Use SpdyBuffer for both SPDY reads and writes. A future CL will add hooks to SpdyBuffer so that we keep track of flow control windows properly. Replace SpdyFrameProducer with SpdyBufferProducer. Also introduce new SpdyReadQueue class for delegates of SpdyStream to use. BUG=176592 Review URL: https://codereview.chromium.org/13990005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194560 0039d316-1c4b-4281-b951-d872f2087c98