summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_http_stream.h
Commit message (Collapse)AuthorAgeFilesLines
* Correctly set the request and response time for QUIC responses :<rch@chromium.org2014-06-241-0/+2
| | | | | | | | BUG=383468 Review URL: https://codereview.chromium.org/344253009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279268 0039d316-1c4b-4281-b951-d872f2087c98
* Remove HttpStream::GetResponseInfo, which is not currently used.mmenke@chromium.org2014-05-291-1/+0
| | | | | | | | | | | | | | | HttpStream::GetResponseInfo returned a pointer to an object not owned by the HttpStream, so could result in returning freed memory, in the case the stream outlives its client. This happens in the case an HttpResponseBodyDrainer is used. As the method isn't used anywhere, seems a good idea to get rid of it. BUG=none Review URL: https://codereview.chromium.org/303443009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273629 0039d316-1c4b-4281-b951-d872f2087c98
* Added DISALLOW_COPY_AND_ASSIGN to disable copy/assign.rtenneti@chromium.org2014-04-221-0/+2
| | | | | | | | | | | | | | | | | | http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Copy_Constructors#Copy_Constructors Sorry for missing this before while merging. jar pointed to the above link on Friday and learned from him it is safer to add the above macro whereever possible. Didn't touch .cc files (or *test.cc). These changes are in internal CL: 65311983 Merge internal change: 65311983 R=rch@chromium.org Review URL: https://codereview.chromium.org/242643009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265207 0039d316-1c4b-4281-b951-d872f2087c98
* Implement QuicHttpStream::GetTotalReceivedBytes.rch@chromium.org2014-01-231-0/+3
| | | | | | Review URL: https://codereview.chromium.org/135013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246710 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GetTotalReceivedBytes for http stream.eustas@chromium.org2013-12-131-0/+1
| | | | | | | | BUG=111052 Review URL: https://codereview.chromium.org/98993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240547 0039d316-1c4b-4281-b951-d872f2087c98
* Do not compress QUIC headers until it is likely that they can be sent.rch@chromium.org2013-11-261-2/+3
| | | | | | Review URL: https://codereview.chromium.org/86713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237368 0039d316-1c4b-4281-b951-d872f2087c98
* When a request fails because the QUIC handshake failed, retry the requestrch@chromium.org2013-10-171-2/+9
| | | | | | | | (which will happen over TCP). Review URL: https://codereview.chromium.org/27181004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229112 0039d316-1c4b-4281-b951-d872f2087c98
* Land Recent QUIC changes.rtenneti@chromium.org2013-09-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass HasRetransmittableData to the congestion manager and the send algorithm. This allows tcp_cubic_sender to not count ACK-only packets against the congestion window. Merge internal change: 51829697 If a previously zombie'd QUIC stream is closed and the headers have been decompressed, remove that entry from the zombie stream map. Merge internal change: 51697989 Change the value used to set the sequence number with to both correctly calculate the widest packet spread currently outstanding and fix a DCHECK failure in EndToEnd's Uber test when packets were transmitted sufficiently out of order that the packet being sent was less than the last packet the peer was awaiting. Merge internal change: 51644967 Fix a bug where frames are queued and not enough room for the next stream frame is available, but we attempt to create a STREAM frame anyway in ConsumeData. Merge internal change: 51604946 Changed Delayed Ack Timer to go off before the sender's retransmission timer goes off. Merge internal change: 51594956 Using the priorities sent by the client, including bounds checking, and bumping the priority of initial writes to avoid the HOL header blocking issue. Merge internal change: 51586426 Fix memory leak uncovered by https://codereview.chromium.org/23587004 Merge internal change: 51569066 Added logging of QUIC version negotiated. Export number of QUIC sessions and streams for each QUIC version. Merge internal change: 51540178 A refactor of QuicFdWrapper's writev to pass the iovec all the way to QuicConnection, allowing better packet packing. Merge internal change: 51530908 Enabled priorities in chrome quic streams. R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/23597045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223880 0039d316-1c4b-4281-b951-d872f2087c98
* [Net] Propagate priority changes from HttpNetworkTransaction to its streamakalin@chromium.org2013-08-141-0/+1
| | | | | | | | | BUG=166689 R=mmenke@chromium.org Review URL: https://codereview.chromium.org/19691003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217596 0039d316-1c4b-4281-b951-d872f2087c98
* Use an asynchronous API to create QUIC streamrch@chromium.org2013-08-021-1/+5
| | | | | | | | | | | | so that we can handle the case where the QUIC session already has reached the max open streams limit. BUG=266564 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/21573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215172 0039d316-1c4b-4281-b951-d872f2087c98
* Remove experimental code to pick the "warmest" socketmmenke@chromium.org2013-03-301-1/+0
| | | | | | | | | | | | | | | | | | (based on age and bytes received) in favor of older algorithm to pick the most recently used socket. Tests showed no real performance difference, so defaulting to the older, simpler, and more intuitive algorithm. This is basically a revert of https://codereview.chromium.org/7251004 TBR=sergeyu@chromium.org BUG=222090 Review URL: https://codereview.chromium.org/12886034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191507 0039d316-1c4b-4281-b951-d872f2087c98
* [Net] Separate out priority field from HttpRequestInfoakalin@chromium.org2013-03-191-0/+1
| | | | | | | | | | | | | | This is in preparation for supporting reprioritization; HttpRequestInfo is assumed to be an unchanging struct, so priority can't live in it if it is something that can change. Also add DEFAULT_PRIORITY value and replace some uses of LOWEST with it. BUG=166689 Review URL: https://codereview.chromium.org/12833008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189099 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unused HttpStreamBase::IsMoreDataBuffered().mmenke@chromium.org2013-03-191-1/+0
| | | | | | | | | | | | HttpNetworkTransaction used to use it in conjunction with Http proxy error checking, but now there's HttpProxyClientSocket which uses HttpStreamParser directly. BUG=none Review URL: https://chromiumcodereview.appspot.com/12538010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug in QuicHttpStream in which a CHECK failed when sending the request ↵rch@chromium.org2013-02-261-1/+1
| | | | | | | | body if the entire body could not be sent at once. Review URL: https://chromiumcodereview.appspot.com/12316112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184597 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the --use-spdy-over-quic command line option. Always use SPDY over QUIC.rch@chromium.org2013-02-251-4/+1
| | | | | | Review URL: https://chromiumcodereview.appspot.com/12326073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184442 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance net internals/net log output for QUIC.rch@chromium.org2013-02-141-0/+2
| | | | | | | | | | | | Fix use after free bug in initial implementation. Initially landed: 182331 Reverted: 182335 Review URL: https://chromiumcodereview.appspot.com/12253020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182471 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 182331rch@chromium.org2013-02-131-2/+0
| | | | | | | | | | | | > Enhance net internals/net log output for QUIC. > > > Review URL: https://chromiumcodereview.appspot.com/12207020 TBR=rch@chromium.org Review URL: https://codereview.chromium.org/12252024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182335 0039d316-1c4b-4281-b951-d872f2087c98
* Enhance net internals/net log output for QUIC.rch@chromium.org2013-02-131-0/+2
| | | | | | Review URL: https://chromiumcodereview.appspot.com/12207020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182331 0039d316-1c4b-4281-b951-d872f2087c98
* Change QuicHttpStream to use SPDY header blocks for reading/writingrch@chromium.org2013-01-251-1/+4
| | | | | | | | | HTTP headers, instead of vanilla HTTP headers. Review URL: https://chromiumcodereview.appspot.com/11859035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178771 0039d316-1c4b-4281-b951-d872f2087c98
* LoadTiming implementation in net, part 2.mmenke@chromium.org2013-01-121-0/+2
| | | | | | | | | Add LoadTiming interface to HttpStream. BUG=77446 Review URL: https://codereview.chromium.org/11622007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176513 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CloseAllSessions method to QuicStreamFactory, and wire it up to ↵rch@chromium.org2013-01-031-0/+6
| | | | | | | | HttpNetworkSession::CloseAllConnections(). Review URL: https://chromiumcodereview.appspot.com/11710003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175044 0039d316-1c4b-4281-b951-d872f2087c98
* Add a QuicHttpStream class.rch@chromium.org2012-12-041-0/+135
Review URL: https://chromiumcodereview.appspot.com/11364068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170968 0039d316-1c4b-4281-b951-d872f2087c98