summaryrefslogtreecommitdiffstats
path: root/net/spdy
Commit message (Collapse)AuthorAgeFilesLines
* Begin CompletionCallback switchover.willchan@chromium.org2011-10-0113-114/+114
| | | | | | | | | | | | | Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback. Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8070013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98
* Updated spdy_framer.cc with the latest code. Code for PINGrtenneti@chromium.org2011-09-266-55/+767
| | | | | | | | | | was added. TEST=spdy unit testsR=willchan Review URL: http://codereview.chromium.org/8036016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102707 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gyp flag to enable dcheck by default in release withoutnsylvain@chromium.org2011-09-201-0/+8
| | | | | | | | | having the pass a flag. This will be used on the try bots. BUG=96753 Review URL: http://codereview.chromium.org/7719007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102017 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100691 - Mark SpdySessionPool as not threadsafedmazzoni@chromium.org2011-09-121-3/+1
| | | | | | | | | | | | | | | Win compile failed BUG=None TEST=None Review URL: http://codereview.chromium.org/7865012 TBR=kristianm@chromium.org Review URL: http://codereview.chromium.org/7867042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100693 0039d316-1c4b-4281-b951-d872f2087c98
* Mark SpdySessionPool as not threadsafekristianm@chromium.org2011-09-121-1/+3
| | | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7865012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100691 0039d316-1c4b-4281-b951-d872f2087c98
* Change AuthChallengeInfo to better represent underlying encodings.cbentzel@chromium.org2011-09-121-4/+5
| | | | | | | | | | | | | | * Use a HostPortPair to indicate the challenger info. This may be a punycode-encoded host. * scheme is always ASCII encoded and a string * realm is converted to UTF-16 rather than a wstring. Over the wire this is usually ASCII, can be ISO-8859-1 encoded as it's a quoted string, and could potentially be other encodings as specified by RFC 2047. BUG=95692 TEST=http://greenbytes.de/tech/tc/httpauth/simplebasicrealmiso88591.asis should display an a with an umlaut. Review URL: http://codereview.chromium.org/7569015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100676 0039d316-1c4b-4281-b951-d872f2087c98
* LOG(WARNING)=>VLOG for SPDY path loggingwillchan@chromium.org2011-09-091-2/+2
| | | | | | | | | BUG=chromium-os:20206 TEST=none Review URL: http://codereview.chromium.org/7860015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100500 0039d316-1c4b-4281-b951-d872f2087c98
* Exposing CloseIdleConnections in HttpCache, and close idle spdy sessionskristianm@chromium.org2011-09-084-0/+129
| | | | | | | | | | | | | | | | Adding CloseIdleSessions to SPDY, use it when closing idle sessions in HttpNetworkSession. Expose CloseIdleConnections to HttpCache so it can be use when from clients of the HttpCache. BUG=None TEST=None Review URL: http://codereview.chromium.org/7380004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100100 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the string constant to be exactly 10 characters.glider@chromium.org2011-09-071-1/+1
| | | | | | | | | | | (the sequence of "\012" was in fact treated as an octal literal before) This bug was found by AddressSanitizer, which detected an out-of-bound read of kMsg2 TBR=rch Review URL: http://codereview.chromium.org/7839026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99933 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 8 static intializers.thakis@chromium.org2011-09-071-1/+1
| | | | | | | | | | BUG=94925 TEST=none Review URL: http://codereview.chromium.org/7795045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99922 0039d316-1c4b-4281-b951-d872f2087c98
* Change HttpNetworkTransaction and HttpStreamFactoryImpl::Job rch@chromium.org2011-09-021-1/+1
| | | | | | | | | | | | | | to keep different SSLConfig objects for HTTPS Proxies vs HTTPS Servers. Add an is_proxy field to SSLCertRequest indicating if the request came from a proxy or from an origin server. BUG=95071 Review URL: http://codereview.chromium.org/7768002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99392 0039d316-1c4b-4281-b951-d872f2087c98
* Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE.darin@chromium.org2011-08-1211-23/+25
| | | | | | Review URL: http://codereview.chromium.org/7529043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96560 0039d316-1c4b-4281-b951-d872f2087c98
* HostResolver: don't interpret NULL callback argument as a request to do ↵agayev@chromium.org2011-08-041-6/+3
| | | | | | | | | | | synchronous resolution. BUG=90547,60149 TEST=net_unittests Review URL: http://codereview.chromium.org/7492059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95509 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit keyword from multi-argument (w/o default values) constructorsdilmah@chromium.org2011-07-261-2/+2
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup of unit tests for spdy_session_ool.rtenneti@chromium.org2011-07-262-5/+3
| | | | | | | | | | | | Fixed the comments from Wan-Teh in CL http://codereview.chromium.org/7349023/ BUG=89094 R=wtc TEST=net unit tests. Review URL: http://codereview.chromium.org/7471056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94094 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-191-1/+1
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* Changed SPDY's ip connection pooling logic to only add the used IP,rtenneti@chromium.org2011-07-194-36/+39
| | | | | | | | | | | | | | | | | | | | rather than all the IPs for the hostname, to the SpdyAliasMap. This is to fix the following problem: When we establish a new SPDY connection, we add all IP addresses for that hostname to our alias map. Therefore, if we connect to host foo which maps to IPs X, Y, and Z, but the actual IP we connect to is X, then if we try to get a SPDY connection to host bar which maps to IPs Y and Z, then currently we will share the SPDY connection to host foo on IP X. BUG=89094 R=willchan TEST=spdy unit tests Review URL: http://codereview.chromium.org/7349023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93105 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/values.h into the base namespace. This includes a cros DEPS rolldmazzoni@chromium.org2011-07-122-3/+3
| | | | | | | | | | with a minor change to that code since libcros also uses base/values.h. BUG=88666 TEST=none Review URL: http://codereview.chromium.org/7259019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
* Change HttpProxyClientSocket and SpdyProxyClient socket to lookrch@chromium.org2011-07-082-2/+2
| | | | | | | | | | | | for proxy auth as https:// instead of http:// when the proxy is an HTTPS proxy, which corresponds to the correct auth target. BUG=88187 TEST=HttpProxyClientSocketPoolTest.AsyncHaveAuth Review URL: http://codereview.chromium.org/7277070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91878 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring on WebSocket over SPDY unit teststoyoshim@chromium.org2011-07-074-105/+163
| | | | | | | | | | | | | Move WebSocket over SPDY packet constructors into independent utility file. These constructors will be used in both of SpdyWebSocketStreamTest and WebSocketJobTest. BUG=NONE TEST=net_unittests Review URL: http://codereview.chromium.org/7312005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91678 0039d316-1c4b-4281-b951-d872f2087c98
* GCC 4.6 -Wunused-but-set-variable cleanup.pph34r@gmail.com2011-07-022-3/+0
| | | | | | | | | | BUG=87490 TEST=net_unittests Review URL: http://codereview.chromium.org/7261018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91424 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup some test ugliness. Stop using a global.willchan@chromium.org2011-07-018-36/+41
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7273065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91276 0039d316-1c4b-4281-b951-d872f2087c98
* SpdyWebSocketStreamTest.IOPending is failing on the Dr.Memory bots.toyoshim@chromium.org2011-06-301-9/+11
| | | | | | | | | | | | | | SPDY Settings frame requires socket read completion in 100ms. But IO Pending situation did not guarantee that. We should prepare one receiving frame which doesn't affect the test. BUG=87620 TEST=tools\valgrind\chrome_tests.bat -t net_unittests --tool drmemory --build_dir net/Debug --gtest_filter=SpdyWebSocketStreamTest.IOPending Review URL: http://codereview.chromium.org/7277029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91135 0039d316-1c4b-4281-b951-d872f2087c98
* Speculative fix for bug 80095.willchan@chromium.org2011-06-284-1/+47
| | | | | | | | | | | | | | Based off previous CHECKs added, it appears that SpdySessionPool::HasSession() may return true, but later on, may return false. I hypothesize that this is because of HostCache entries expiring in between calls to HasSession(). The solution is not to use HasSession(), but instead just call a new SpdySessionPool::GetIfExists() function. If we acquire it, then cache it in a member variable of HttpStreamFactoryImpl::Job. BUG=80095 TEST=New tests in HttpNetworkTransactionTest. Because it's timing related, it's hard to come up with a solid repro case. Review URL: http://codereview.chromium.org/7260014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90886 0039d316-1c4b-4281-b951-d872f2087c98
* SpdyWebSocketStream::SendData has memory leaktoyoshim@chromium.org2011-06-281-2/+2
| | | | | | | | | BUG=87605 TEST=net_unittests with heap/memory check Review URL: http://codereview.chromium.org/7259018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90720 0039d316-1c4b-4281-b951-d872f2087c98
* Warmth of a connection (cwnd) is estimated by the amount of data written to ↵gagansingh@google.com2011-06-273-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | the socket. Choosing the warmest connection would mean faster resource load times. idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90373 Reverted: http://codereview.chromium.org/7255002 :( Have fixed 2 things since: 1. Removed LOG(ERROR) from http_basic_stream.cc that was causing layout tests to fail. 2. Initialized class variables in http_basic_stream.cc that was causing uninitialized memory bugs in valgrind: http://code.google.com/p/chromium/issues/detail?id=87423 Review URL: http://codereview.chromium.org/7251004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90601 0039d316-1c4b-4281-b951-d872f2087c98
* WebSocket over SPDY: SpdyWebSocketStreamtoyoshim@chromium.org2011-06-276-1/+935
| | | | | | | | | | | | SpdyWebSocketStream implementation. This class will be used by WebSocketJob to enable WebSocket over SPDY support. BUG=42320 TEST=net_unittest --gtest_filter=SpdyWebSocket\* Review URL: http://codereview.chromium.org/7089001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90555 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 90373 - Warmth of a connection (cwnd) is estimated by the amount of ↵dimich@chromium.org2011-06-243-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | data written to the socket. Choosing the warmest connection would mean faster resource load times. Caused layout tests http/tests/loading/redirect-methods.html and http/tests/security/xss-DENIED-iframe-src-alias.html fail on deps WebKit bots, and caused http://code.google.com/p/chromium/issues/detail?id=87423 Deps bots failures: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&tests=http%2Ftests%2Floading%2Fredirect-methods.html%2Chttp%2Ftests%2Fsecurity%2Fxss-DENIED-iframe-src-alias.html idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Review URL: http://codereview.chromium.org/7189055 TBR=gagansingh@google.com Review URL: http://codereview.chromium.org/7255002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90389 0039d316-1c4b-4281-b951-d872f2087c98
* Warmth of a connection (cwnd) is estimated by the amount of data written to ↵gagansingh@google.com2011-06-243-0/+11
| | | | | | | | | | | | | | | | | | | the socket. Choosing the warmest connection would mean faster resource load times. idle time is the time a socket has remained idle (no http requests being served on it). Probability of server resetting a connection increases with idle time duration. Using a cost function that takes into account bytes transferred and idle time to pick best connection to schedule http requests on. CODEREVIEW done in http://codereview.chromium.org/6990036/ Contributed by gagansingh@google.com Review URL: http://codereview.chromium.org/7189055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90373 0039d316-1c4b-4281-b951-d872f2087c98
* Changed calls to the "SettingsFlagsAndId" constructor to take 0. This should ↵rkn@chromium.org2011-06-201-3/+3
| | | | | | | | fix potential problems with endianness. Review URL: http://codereview.chromium.org/6992014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89711 0039d316-1c4b-4281-b951-d872f2087c98
* Changed "set_id" in "union SettingsFlagsAndId" so that it gives "flags()" ↵rkn@chromium.org2011-06-031-3/+2
| | | | | | | | the correct byte ordering. Review URL: http://codereview.chromium.org/7066009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87833 0039d316-1c4b-4281-b951-d872f2087c98
* Added a function "void SpdySettingsStorage::Clear()". Added a call to therkn@chromium.org2011-05-234-3/+56
| | | | | | | | | | | function "spdy_settings_.Clear()" to the function "void SpdySessionPool::OnIPAddressChanged()". BUG=55868 TEST="./net_unittests --gtest_filter=SpdySessionTest.ClearSettingsStorage" and "./net_unittests --gtest_filter=SpdySessionTest.ClearOnIPAddressChanged". Review URL: http://codereview.chromium.org/7046016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86362 0039d316-1c4b-4281-b951-d872f2087c98
* Net: Add NET_API to socket_stream and spdy.rvargas@google.com2011-05-1910-20/+26
| | | | | | | | BUG=76997 TEST=NONE Review URL: http://codereview.chromium.org/7044021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86011 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash bug with SpdyProxyClientSocket where IsConnectedAndIdlerch@chromium.org2011-05-162-2/+4
| | | | | | | | | | | called on a closed socket would result in a null pointer dereference. BUG=none TEST=SpdyProxyClientSocketTest.ReadOnClosedSocketReturnsZero Review URL: http://codereview.chromium.org/7029016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85554 0039d316-1c4b-4281-b951-d872f2087c98
* GetPeerAddress could be called without socket, added checkdpolukhin@chromium.org2011-05-061-0/+6
| | | | | | | | | | | From crash it is clear that GetPeerAddress was called with NULL socket. Perhaps it should never happen, I don't know this code. So I fixed obvious root of the crash but real issue can be deeper. BUG=chromium-os:14877 TEST=compile Review URL: http://codereview.chromium.org/6933027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84406 0039d316-1c4b-4281-b951-d872f2087c98
* Re-connect if Keep-Alive connection has been closed by the time we get ↵asanka@chromium.org2011-05-052-24/+31
| | | | | | | | | | | around to reusing it. BUG=none TEST=net_unittests --gtest_filter=HttpNetworkTransactionTest.BasicAuthKeepAliveImpatientServer:*.BasicAuthKeepAliveNoBody:*.BasicAuthKeepAliveLargeBody && unit_tests --gtest_filter=*TransportClientSocketTest.IsConnected* Review URL: http://codereview.chromium.org/6902165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84257 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ClientSocket to StreamSocket.sergeyu@chromium.org2011-05-053-4/+4
| | | | | | | | | BUG=80895 TEST=Compiles Review URL: http://codereview.chromium.org/6930014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84167 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83524 - Re-connect if Keep-Alive connection has been closed by the ↵asanka@chromium.org2011-04-292-31/+24
| | | | | | | | | time we get around to reusing it. BUG=none TEST=net_unittests --gtest_filter=HttpNetworkTransactionTest.BasicAuthKeepAliveImpatientServer:*.BasicAuthKeepAliveNoBody:*.BasicAuthKeepAliveLargeBody && unit_tests --gtest_filter=*TransportClientSocketTest.IsConnected*Review URL: http://codereview.chromium.org/6878055 TBR=asanka@chromium.org Review URL: http://codereview.chromium.org/6880318 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83530 0039d316-1c4b-4281-b951-d872f2087c98
* Re-connect if Keep-Alive connection has been closed by the time we get ↵asanka@chromium.org2011-04-292-24/+31
| | | | | | | | | | | | | around to reusing it. BUG=none TEST=net_unittests --gtest_filter=HttpNetworkTransactionTest.BasicAuthKeepAliveImpatientServer:*.BasicAuthKeepAliveNoBody:*.BasicAuthKeepAliveLargeBody && unit_tests --gtest_filter=*TransportClientSocketTest.IsConnected* Review URL: http://codereview.chromium.org/6878055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83524 0039d316-1c4b-4281-b951-d872f2087c98
* Stop refcounting ProxyService.willchan@chromium.org2011-04-273-16/+17
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6873096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83222 0039d316-1c4b-4281-b951-d872f2087c98
* Find("SpdyCwnd") is sometimes coming back null. This guards against that case.russellbrenner@google.com2011-04-261-0/+4
| | | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6877124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82993 0039d316-1c4b-4281-b951-d872f2087c98
* Added GetLocalAddress() in net::ClientSocket.sergeyu@chromium.org2011-04-196-3/+23
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6840033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82190 0039d316-1c4b-4281-b951-d872f2087c98
* Add net/base/sys_byteorder.hsergeyu@chromium.org2011-04-183-17/+3
| | | | | | | | | TEST=compiles BUG=None Review URL: http://codereview.chromium.org/6870021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81966 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem that cert trust change needs a chrome restart to be effective.xiyuan@chromium.org2011-04-132-2/+11
| | | | | | | | | | | | | | | This seems to be caused by CertVerifier's verification result cache. - Added a new OnCertTrustChanged to CertDatabase::Observer; - For NSS cert database, SetCertTrust triggers OnCertTrustChanged; - Clear CertVerifier's result cache when OnCertDatabaseChanged is fired; BUG=chromium-os:7988 TEST=Verify #2 issue in chromium-os:7988 where cert trust change only takes effect after chrome restart. Review URL: http://codereview.chromium.org/6816035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81433 0039d316-1c4b-4281-b951-d872f2087c98
* The IP Aliases table was not being properly cleared when we manually closembelshe@chromium.org2011-04-122-6/+25
| | | | | | | | | | | all connections (which is done in the benchmark code, and also when changing networks) BUG=78811 TEST=SpdySessionPoolTest.IPPoolingCleanedOnClose Review URL: http://codereview.chromium.org/6820052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81252 0039d316-1c4b-4281-b951-d872f2087c98
* We've finished testing with the cwnd fixed at 32, it is clearly worse.mbelshe@chromium.org2011-04-111-2/+2
| | | | | | | | | | Remove that test and replace it with cwnd10, which fixes the cwnd at 10. BUG=none TEST=this is the test Review URL: http://codereview.chromium.org/6792026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81149 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off backup sockets for most tests in net_unittests.willchan@chromium.org2011-04-081-9/+0
| | | | | | | | | | BUG=78303 TEST=net_unittests Review URL: http://codereview.chromium.org/6814017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80972 0039d316-1c4b-4281-b951-d872f2087c98
* Rename a number of classes previously labeled "TCP" to "Transport" inmbelshe@chromium.org2011-04-076-39/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preparation for non-TCP transports. This helps because the alternative is to either use non-TCP protocols (like SCTP) in classes which are called "TCPClientSocketPool", or to clone the code as "SCTPClientSocketPool", both of which are less than ideal. For now, we're just testing transports, so the TransportSocketPool classes will determine a single type of transport and just use them. In the future we'll likely need to figure out how to deal with runtime selection of transports, and probably support use of multiple transports either within the same pools or within subpools. But that is for the future. Note that the histograms have some "tcp" references to them. I didn't change these to "transport" yet, because it will effect existing histograms. Renames include: classes: TCPClientSocketPool -> TransportClientSocketPool MockTCPClientSocketPool -> MockTransportClientSocketPool TCPSocketParams -> TransportSocketParams methods (not the exhaustive list): CreateTCPClientSocket() -> CreateTransportClientSocket() DoTCPConnect() -> DoTransportConnect() BUG=none TEST=none Review URL: http://codereview.chromium.org/6804028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80781 0039d316-1c4b-4281-b951-d872f2087c98
* Add ignore limits flag and use for sync requestkristianm@google.com2011-03-304-10/+12
| | | | | | | | | | | | | Letting sync request ignore the socket and group limits when loading to prevent the WebCore thread from locking up. BUG=45986,58703 TEST=No new tests Review URL: http://codereview.chromium.org/6756004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79817 0039d316-1c4b-4281-b951-d872f2087c98
* Do not send empty Accept-Language / Accept-Charset headers.willchan@chromium.org2011-03-301-8/+0
| | | | | | | | | | BUG=77365 TEST=Start Chrome, check that the GoogleURLTracker request headers do not include Accept-Language/Accept-Charset. Review URL: http://codereview.chromium.org/6731070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79771 0039d316-1c4b-4281-b951-d872f2087c98