summaryrefslogtreecommitdiffstats
path: root/net/spdy
Commit message (Collapse)AuthorAgeFilesLines
* SPDY: Improve logging messages for SpdySession.willchan@chromium.org2010-03-301-3/+9
| | | | | | Review URL: http://codereview.chromium.org/1582001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43087 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the ConnectFailure case. Previously, this test casembelshe@chromium.org2010-03-293-6/+14
| | | | | | | | | | | | reported valgrind warnings; the warnings are legit; we were leaking the sessions in this case through two different leaks BUG=29471 TEST=SpdyNetworkTransactionTest.ConnectFailure Review URL: http://codereview.chromium.org/1553005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42995 0039d316-1c4b-4281-b951-d872f2087c98
* Remove memory leak from the SpdyNetworkTransactionTest:ServerPushahendrickson@google.com2010-03-261-4/+3
| | | | | | | | | | | | | unit test, and its suppression. Another issue's (1321002) CL accidentally checked in a preliminary fix; this cleans it up. BUG=39378 TEST=Valgrind Review URL: http://codereview.chromium.org/1378009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42833 0039d316-1c4b-4281-b951-d872f2087c98
* Reducing the debug output spam.ahendrickson@google.com2010-03-253-32/+22
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/1321002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42694 0039d316-1c4b-4281-b951-d872f2087c98
* SpdySession now sets the following fields in HttpResponseInfo: ahendrickson@google.com2010-03-256-128/+1055
| | | | | | | | | | | | | | | | | | | | | | | request_time response_time vary_data There is also a unit test to exercise the new functionality. - Changed CreateSpdyHeadersFromHttpRequest() to use std::string::append() rather than std::string::operator+() to append a single '\0' character to the string, as the former does nothing. - Now using SpdyFramer. - The unit tests now include all server push cases. BUG=34505 TEST=Run netunittests.exe --gtest_filter=SpdyNetworkTransactionTest.* Review URL: http://codereview.chromium.org/634002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42660 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending a sliced file in chromium.jianli@chromium.org2010-03-241-2/+7
| | | | | | | | | BUG=none TEST=The WebKit Layout test. Review URL: http://codereview.chromium.org/594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42559 0039d316-1c4b-4281-b951-d872f2087c98
* Generalize the net module's LoadLog facility from a passive container, to an ↵eroman@chromium.org2010-03-167-83/+68
| | | | | | | | | | | | | | | | event stream (NetLog). This makes it possible to associate a single NetLog with a URLRequestContext, and then attach observers to that log to watch the stream of events. This changelist attempts to do the most direct translation, so there will be subsequent iterations to clean up. The user-visible behavior should remain unchanged. BUG=37421 Review URL: http://codereview.chromium.org/848006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41689 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY: Basic peer GoAway frame support.willchan@chromium.org2010-03-103-30/+130
| | | | | | | | | This only handles peer GoAway frames. Does not implement support for client GoAway frames. TODO: Cancel any streams that are past the GoAway frame's last_accepted_stream_id. Review URL: http://codereview.chromium.org/820002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41189 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY: Add basic support for Alternate-Protocol header.willchan@chromium.org2010-03-091-17/+1
| | | | | | Review URL: http://codereview.chromium.org/668197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41032 0039d316-1c4b-4281-b951-d872f2087c98
* Add command line option for changing the max number of SPDY sessions permbelshe@chromium.org2010-03-052-2/+12
| | | | | | | | | | | | | | | domain. The default remains at 1. Command line usage to set it to 13: chrome.exe --use-spdy --max-spdy-sessions-per-domain=13 BUG=none TEST=none Review URL: http://codereview.chromium.org/669169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40775 0039d316-1c4b-4281-b951-d872f2087c98
* Update spdy_protocol to support the GOAWAY message.mbelshe@chromium.org2010-03-046-68/+235
| | | | | | | | | | | | Update SpdyControlFrame to remove the stream_id. Update associated tests. BUG=none TEST=spdy_protocol_test.cc Review URL: http://codereview.chromium.org/668048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40643 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when streams are cancelled and we have a BufferedRead taskmbelshe@chromium.org2010-03-042-3/+87
| | | | | | | | | | | outstanding. BUG=none TEST=SpdyNetworkTranscation.BufferedCancelled Review URL: http://codereview.chromium.org/667003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40602 0039d316-1c4b-4281-b951-d872f2087c98
* Use CHECK_* in netwillchan@chromium.org2010-03-023-14/+14
| | | | | | Review URL: http://codereview.chromium.org/660404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40453 0039d316-1c4b-4281-b951-d872f2087c98
* Remove connection failed histograms.vandebo@chromium.org2010-03-021-2/+2
| | | | | | | | | BUG=none - not used and blocks refactoring for bug 30357 TEST=unit tests Review URL: http://codereview.chromium.org/661318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40397 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug with buffering when the connection closesmbelshe@chromium.org2010-03-022-4/+340
| | | | | | | | | | | while the read is still pending. BUG=none TEST=SpdyNetworkTransactionTest Review URL: http://codereview.chromium.org/661292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40333 0039d316-1c4b-4281-b951-d872f2087c98
* Make a proper TCPSocketParamsvandebo@chromium.org2010-02-273-7/+10
| | | | | | | | | BUG=none TEST=existing unit tests Review URL: http://codereview.chromium.org/661194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40182 0039d316-1c4b-4281-b951-d872f2087c98
* Fix SpdySessionPool to take a host port pair instead of just the host.willchan@chromium.org2010-02-266-48/+62
| | | | | | | | BUG=28595 Review URL: http://codereview.chromium.org/660107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40077 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the SPDY stream to be buffered.mbelshe@chromium.org2010-02-263-28/+191
| | | | | | | | | | | | | | | | | Discovered that passing small chunks of data to the renderer can cause the renderer to get backlogged. With SPDY, data chunks are always framed into smallish chunks (say ~4KB). So where HTTP would only send a couple of large chunks to the renderer to satisfy a resource load, SPDY may send many, and this was surprisingly slow. BUG=none TEST=SpdyNetworkTransactionTest.FullBuffer Review URL: http://codereview.chromium.org/652209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40073 0039d316-1c4b-4281-b951-d872f2087c98
* ProxyConfig behaved like a struct, but was defined as a class.eroman@chromium.org2010-02-241-13/+1
| | | | | | | | | Changed it to be a proper class with hidden implementation variables, setters etc. Also seized this opportunity to move the bypass list from being a member of ProxyConfig, to being a member of ProxyRules. This is a more correct hiearchy, since the bypass rules only apply to the manual settings. Lastly, this makes it possible to have the manual rules evaluation be a method on ProxyRules, and shift some more code out of proxy_service. Review URL: http://codereview.chromium.org/651070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39818 0039d316-1c4b-4281-b951-d872f2087c98
* Add APIs to expose http cache's metadata and thervargas@google.com2010-02-231-0/+1
| | | | | | | | | | | the ability to stop caching a given request. BUG=32406, 22900 TEST=none Review URL: http://codereview.chromium.org/600167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39751 0039d316-1c4b-4281-b951-d872f2087c98
* Make explicit the assumption that SpdySession::InitializeWithSocket takeswtc@chromium.org2010-02-204-13/+10
| | | | | | | | | | | an SSLClientSocket by renaming the methods and adding a DCHECK. R=willchan BUG=none TEST=No compilation errors. Review URL: http://codereview.chromium.org/650085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39528 0039d316-1c4b-4281-b951-d872f2087c98
* Make SpdySession::GetSSLInfo work when the SpdySession is constructedwtc@chromium.org2010-02-191-0/+4
| | | | | | | | | | | | | using SpdySession::InitializeWithSocket. The is_secure_ member needs to be set to true. R=willchan BUG=none TEST=Use SPDY with Next Protocol Negotiation (NPN). Chrome should show a lock icon and should be able to display the server certificate. Review URL: http://codereview.chromium.org/646074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39474 0039d316-1c4b-4281-b951-d872f2087c98
* Remove agl's NPN in SpdySession hack.willchan@chromium.org2010-02-181-11/+0
| | | | | | | | This will prevent us from attempting NPN when --use_spdy is true, but not the "npn" option is not specified. Review URL: http://codereview.chromium.org/633006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39312 0039d316-1c4b-4281-b951-d872f2087c98
* Added factories for HttpAuthHandler.cbentzel@chromium.org2010-02-152-3/+13
| | | | | | | | | | | | | | | | | | | The driving rationale for this change was to prevent choosing an AuthHandler when it is not supported on the system due to a missing runtime component (such as not being able to locate a gssapi shared library when seeing a Negotiate scheme). It also has the advantage (currently unused) of determining some per-auth-scheme properties only the first time that a challenge for that scheme is seen (such as maximum token length for the SSPI implementation of NTLM). Finally, it may make unit tests easier to generate since the factory can be easily mocked. BUG=34795 TEST=New unit test for HttpAuthHandlerDispatchFactory. Review URL: http://codereview.chromium.org/582007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39065 0039d316-1c4b-4281-b951-d872f2087c98
* API changes and protocol changes for supporting the latest SPDY spec.mbelshe@chromium.org2010-02-108-88/+142
| | | | | | | | | | | | | | | | | | Changes include: rename FIN_STREAM to RST_STREAM update enums Add associated-to field to SYN_STREAM Update SYN_STREAM APIs Fix up unit tests. I think these are all the on-wire compatibility changes in the spec. More semantic changes are necessary, of course. BUG=none TEST=none Review URL: http://codereview.chromium.org/599018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38645 0039d316-1c4b-4281-b951-d872f2087c98
* Merge deltas from server team common SPDY files.mbelshe@chromium.org2010-02-093-41/+126
| | | | | | | | | | | Fixes one memory leak and one mismatched scoped_ptr/array usage. BUG=none TEST=none Review URL: http://codereview.chromium.org/591003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38478 0039d316-1c4b-4281-b951-d872f2087c98
* Add bounds checking to StaticSocketDataProvider, to make tests more reliablephajdan.jr@chromium.org2010-02-091-28/+37
| | | | | | | | | | | when they fail. TEST=net_unittests BUG=27567 Review URL: http://codereview.chromium.org/582020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38453 0039d316-1c4b-4281-b951-d872f2087c98
* The great Flip -> Spdy rename.mbelshe@chromium.org2010-02-0822-987/+987
| | | | | | | | | BUG=30747 TEST=none Review URL: http://codereview.chromium.org/580009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38386 0039d316-1c4b-4281-b951-d872f2087c98
* Rename all files from flip* to spdy*.mbelshe@chromium.org2010-02-0622-0/+6329
I haven't yet renamed the classes. BUG=30747 TEST=none Review URL: http://codereview.chromium.org/582001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38315 0039d316-1c4b-4281-b951-d872f2087c98