summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Make HttpNetworkLayer tests network-independent.phajdan.jr@chromium.org2009-06-164-31/+51
| | | | | | | | | | | | This includes a small refactoring which allows using a different socket factory. TEST=Covered by net_unittests. BUG=http://crbug.com/14107 Review URL: http://codereview.chromium.org/126147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18499 0039d316-1c4b-4281-b951-d872f2087c98
* Bypass the host cache when you refresh a page.ericroman@google.com2009-06-162-6/+53
| | | | | | | | | BUG=13163 TEST=HttpNetworkTransactionTest.BypassHostCacheOnRefresh, HostResolverTest.BypassCache Review URL: http://codereview.chromium.org/125154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18474 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2. Make TCPClientSocketPool own the ConnectingSockets.willchan@chromium.org2009-06-155-59/+79
| | | | | | | | | | | Fix connecting_sockets_map_ to get updated before running callback. BUG=none TEST=TCPClientSocketPoolTest.RequestTwice BUG=http://crbug.com/13952 Review URL: http://codereview.chromium.org/126168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18453 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Make TCPClientSocketPool own the ConnectingSockets."willchan@chromium.org2009-06-154-35/+59
| | | | | | | | | This reverts r18414. Broke reliability bot. Review URL: http://codereview.chromium.org/128001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18436 0039d316-1c4b-4281-b951-d872f2087c98
* Add a regression test for 14056. This verifies that HttpNetworkTransaction ↵ericroman@google.com2009-06-151-0/+73
| | | | | | | | | | sets the "referrer" field expected by the DNS prefetch observer. BUG=14056 Review URL: http://codereview.chromium.org/126112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18434 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce parent and child entries for MemEntryImplhclam@chromium.org2009-06-155-32/+167
| | | | | | | | | | | | | | | | | | | | | Defines enums for kParentEntry and kChildEntry in MemEntryImpl. Also has code in MemBackendImpl to create a slave entry. Parent entries are non-sparse entries until sparse API are called on them, and they would start to keep a list of child entries. Child entries hold partial content and are not susposed to be accessible from the public and are managed by the parent entry that created it. Child entries are registered in the backend's ranking list to allow individual eviction. More details about how child entries are to be used are in the comments. TEST=DiskCacheEntryTest.MemoryOnlyEnumerationWithSlaveEntries Review URL: http://codereview.chromium.org/120004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18432 0039d316-1c4b-4281-b951-d872f2087c98
* Make TCPClientSocketPool own the ConnectingSockets.willchan@chromium.org2009-06-154-59/+35
| | | | | | | | | | Re-enable the disabled URLRequest tests. BUG=http://crbug.com/13952 TEST=covered by existing tests Review URL: http://codereview.chromium.org/126065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18414 0039d316-1c4b-4281-b951-d872f2087c98
* Fix segfault in HttpNetworkLayerTest.GoogleGET when network connection fails.phajdan.jr@chromium.org2009-06-151-1/+1
| | | | | | | | | | | | | | | This is rather a workaround for the root cause (test touches the network), but it should not crash anyway. After this patch the test will fail, not segfault. TEST=Covered by net_unittest. Check with network connection disabled. BUG=http://crbug.com/13195 Review URL: http://codereview.chromium.org/125128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18398 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize IOBuffers in new FTP unit tests (issue detected by valgrind).phajdan.jr@chromium.org2009-06-151-4/+13
| | | | | | | | | | TEST=none BUG=http://crbug.com/12409 Review URL: http://codereview.chromium.org/126120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18381 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for new FTP network transaction.phajdan.jr@chromium.org2009-06-155-186/+706
| | | | | | | | | | TEST=Covered by net_unittests. http://crbug.com/12409 Review URL: http://codereview.chromium.org/115779 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18375 0039d316-1c4b-4281-b951-d872f2087c98
* [Refactor] Rename DnsResolutionObserver --> HostResolver::Observer.ericroman@google.com2009-06-158-58/+22
| | | | | | | | | | TEST=this is striclty a refactoring; just needs to compile and pass existing tests. BUG=14056 Review URL: http://codereview.chromium.org/126110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18372 0039d316-1c4b-4281-b951-d872f2087c98
* * Move the global "DnsResolutionObserver" code depended on by DNS ↵ericroman@google.com2009-06-1519-243/+478
| | | | | | | | | | | | | | prefetcher, into HostResolver. This has the advantage that consumers of DNS no longer have to remember to call "DidFinishDnsResolutionWithStatus()" followed by "DidStartDnsResolution()" in order for the prefetcher to observe the resolution. Instead it just happens automatically, and subscribers register via HostResolver::AddObserver() on a particular resolver instance. * To accomodate the prefetcher's observer, HostResolver::Resolve() needs an additional "referrer" parameter. This is slightly awkward since "referrer" has nothing to do with the actual resolve request. To simplify plumbing through this and other optional parameters, Resolve() was changed to take a "RequestInfo&" parameter in place of say {hostname, port, flags}. * Added an option to HostResolver::Resolve() for disallowing cached responses (RequestInfo::allow_cached_response). This will be used when you refresh a page, to bypass the host cache. The code to do this has been added to HttpNetworkTransaction, but is commented out pending an appropriate unit-test to verify it. BUG=14056 Review URL: http://codereview.chromium.org/125107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18371 0039d316-1c4b-4281-b951-d872f2087c98
* Specify new methods for supporting SSL client authentication.wtc@chromium.org2009-06-1225-60/+282
| | | | | | | | | | | | | | | | | See the changes to url_request.h and ssl_cert_request_info.h. They are similar to the methods for handling SSL certificate errors and HTTP authentication. The handling of servers that request but don't require SSL client authentication is reimplemented using the new methods. R=rvargas,eroman BUG=http://crbug.com/318 TEST=none Review URL: http://codereview.chromium.org/118039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18322 0039d316-1c4b-4281-b951-d872f2087c98
* Included text/css content type into list of the supported non image files. abarth@chromium.org2009-06-121-3/+9
| | | | | | | | | | | | | | | | | | Now css files are opened inside browser instead of download. Also - making lint happy on the mime_util.cc BUG=7192 R=abarth TEST=MimeTypeTests.MimeTypeTests Patch by Yuri Gorobets. Original review URL: http://codereview.chromium.org/125005 Review URL: http://codereview.chromium.org/125058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18306 0039d316-1c4b-4281-b951-d872f2087c98
* Http Cache: First pass of byte-range requests support.rvargas@google.com2009-06-127-64/+647
| | | | | | | | | | | | | | | | | | | | | | This is the first pass to implement support for range requests and the asociated sparse cache entry. It is disabled by default, and requires ENABLE_RANGE_SUPPORT to be defined in order to activate the code: all the code is compiled in, but Start() bypasses the cache for range requests, and OnNetworkInfoAvailable ignores 206. Big parts are still not implemented. Most notably we are not modifying the response headers that we send to the user, so the content-range and content-length info are not correct. BUG=12258 TEST=Unit tests. Review URL: http://codereview.chromium.org/118345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18289 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most field trial uses of DNS impact testjar@chromium.org2009-06-122-27/+11
| | | | | | | | | | | | | | | | | The focus on DNS prefetching has moved to optimize primarilly the RequestToFinish time in the renderer. As a result, I've removed most of the modulations of the histogram names other than that focal histogram. I've also extended the duration for RequestToFinish, and enhanced its granularity, changing the name to RequestToFinish_L. Dave: Please review the renderer histogram changes. Will: Please review the network histogram changes. You can also suggest any histograms that you think would be removed at this point. r=davemoore,willchan Review URL: http://codereview.chromium.org/126023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18283 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable tests causing memory leaks.ericroman@google.com2009-06-122-3/+10
| | | | | | | | BUG=13952 TBR=willchan Review URL: http://codereview.chromium.org/126044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18263 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TCPClientSocketPoolTest to play well with HostCache.willchan@chromium.org2009-06-121-60/+89
| | | | | | | | | Most of the changes were simply because the requests after the first one don't return ERR_IO_PENDING, but instead succeed synchronously. Along the way, make some test improvements. Don't have to Sleep anymore in tests. Re-enable a broken test from before. Review URL: http://codereview.chromium.org/125038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18261 0039d316-1c4b-4281-b951-d872f2087c98
* Disable URLRequestTest.CancelTest4 since it started leaking.willchan@chromium.org2009-06-121-1/+1
| | | | | | | | I understand the bug now, but need more time to fix it. Will look at this tomorrow. Review URL: http://codereview.chromium.org/126042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18260 0039d316-1c4b-4281-b951-d872f2087c98
* Include <stdlib.h> for the declarations of memcpy, malloc, free.ericroman@google.com2009-06-121-0/+1
| | | | | | | | | | This is needed for the "chromium-rel-linux-jaunty" builder. BUG=13163 Review URL: http://codereview.chromium.org/126038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18255 0039d316-1c4b-4281-b951-d872f2087c98
* Experiment: turn off host caching to see if it relates to client socket pool ↵ericroman@google.com2009-06-122-3/+9
| | | | | | | | leak in URLRequestTest.Cancel[24]. Review URL: http://codereview.chromium.org/126035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18249 0039d316-1c4b-4281-b951-d872f2087c98
* Try to track down a dangling ClientSocketHandle* by upgrading DCHECKs to CHECKs.willchan@chromium.org2009-06-122-28/+32
| | | | | | | | | Add exception handling code for GetLoadState() for when a ClientSocketHandle doesn't exist. BUG=http://crbug.com/13908 Review URL: http://codereview.chromium.org/125025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18242 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a DCHECK which is being hit because of a unit-test's particular setup.ericroman@google.com2009-06-121-1/+4
| | | | | | | | TBR=willchan Review URL: http://codereview.chromium.org/126028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18240 0039d316-1c4b-4281-b951-d872f2087c98
* * Avoid doing concurrent DNS resolves of the same hostname in HostResolver.ericroman@google.com2009-06-1242-179/+1777
| | | | | | | | | | | | | | | | * Add a 1 minute cache for host resolves. * Refactor HostResolver to handle multiple requests. * Make HostResolver a dependency of URLRequestContext. operate the HostResolver in async mode for proxy resolver (bridging to IO thread). TEST=unittests BUG=13163 Review URL: http://codereview.chromium.org/118100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18236 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce HttpStream and HttpBasicStream.willchan@chromium.org2009-06-114-5/+113
| | | | | | | | | | | | This is the beginning of the http pipelining work. Introduce HttpStream, an interface for reading and writing to http streams. Provide a basic implementation with HttpBasicStream. Switch HttpNetworkTransaction to reading/writing via HttpStream rather than directly to the socket. Note that the interface will have to change later on. Read/Write() is the wrong interface, since a pipelining HttpStream implementation will have to detect the end of an http response, rather than having the client (HttpNetworkTransaction) do that. This is just the first step. For information of the general roadmap for http pipelining, please refer to the bug. BUG=http://crbug.com/8991 TEST=none Review URL: http://codereview.chromium.org/119346 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18199 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Avoid recursion when trimming entries.rvargas@google.com2009-06-103-3/+9
| | | | | | | | | | | | | | TrimCacheV2() calls EvictEntry() to move a given entry to the "deleted" list. EvictEntry() deletes the actual data, and that may end up calling ModifyStorageSize() and TrimCacheV2() again. BUG=b/1909376 TEST=none Review URL: http://codereview.chromium.org/121002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18115 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Move much of the TCPClientSocketPool implementation out into ↵willchan@chromium.org2009-06-107-805/+501
| | | | | | | | | | ClientSocketPoolBase..." This reverts r18034. Review URL: http://codereview.chromium.org/119413 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18046 0039d316-1c4b-4281-b951-d872f2087c98
* Add LOAD_VERIFY_EV_CERT in net load loag.ukai@chromium.org2009-06-101-0/+3
| | | | | | | | | | | | | | | We'd like to run EV cert verification in cert verifier's context, but EV cert verification is expensive and it is only relevant to main frame. So, pass the LOAD_VERIFY_EV_CERT flag when the resource is main frame to request EV cert verification. BUG=10911 TEST=none Review URL: http://codereview.chromium.org/118373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18036 0039d316-1c4b-4281-b951-d872f2087c98
* Move much of the TCPClientSocketPool implementation out into ↵willchan@chromium.org2009-06-107-501/+805
| | | | | | | | | | | | ClientSocketPoolBase and TCPConnectingSocket for reuse. When I write SSLClientSocketPool, it will need to reuse lots of this functionality. This isn't quite the interface we want yet, since we'll need a ConnectingSocket interface for both SSLConnectingSocket and TCPConnectingSocket to derive from, but this is a start. BUG=http://crbug.com/13289 TEST=none Review URL: http://codereview.chromium.org/118423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18034 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify a proxy test.willchan@chromium.org2009-06-101-20/+2
| | | | | | | | TEST=none Review URL: http://codereview.chromium.org/119404 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18011 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FTP binary file download issue.wtc@chromium.org2009-06-091-5/+6
| | | | | | | | | | | | | The patch is contributed by Ibrar Ahmed <ibrar.ahmad@gmail.com>. Original review: http://codereview.chromium.org/118455 R=wtc BUG=http://crbug.com/4965 TEST=Run with --new-ftp, and try to download a file. Review URL: http://codereview.chromium.org/118459 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17981 0039d316-1c4b-4281-b951-d872f2087c98
* Include a parent directory link in the file list for file:///somepathyuzo@chromium.org2009-06-091-1/+4
| | | | | | | | | | | | | | | Also, order files/directories lexicographically. TEST=on linux, type file:///usr/ in the address bar and make sure the contents are sorted and include an entry for '..', which is [parent directory]. On windows, type file:///C:/Users/ . BUG=12621, 12812 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17933 0039d316-1c4b-4281-b951-d872f2087c98
* Disk Cache: Simplify CallbackTest.rvargas@google.com2009-06-094-48/+28
| | | | | | | | | | | Remove the callback id... it's not useful anymore. BUG=none TEST=current unit tests. Review URL: http://codereview.chromium.org/118407 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17924 0039d316-1c4b-4281-b951-d872f2087c98
* We don't handle certificate errors during SSL renegotiation.wtc@chromium.org2009-06-094-8/+45
| | | | | | | | | | | | | | | | | | In the common case, the server sends the same certificate during renegotiation. Since the certificate has been verified, we can assume the certificate is good or has been accepted by the user. If the server sends a different certificate that has an error, we need to return an error code that won't trigger our certificate error handling code, which doesn't handle this case correctly. Add the ERR_CERT_ERROR_IN_SSL_RENEGOTIATION error for this purpose. R=rvargas BUG=http://crbug.com/13226 TEST=See http://crbug.com/13226 comment 9 Review URL: http://codereview.chromium.org/118410 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17919 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TCPClientSocketPool synchronous dns resolution + connect code path.willchan@chromium.org2009-06-092-79/+60
| | | | | | | | BUG=http://www.crbug.com/13289 Review URL: http://codereview.chromium.org/119251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17913 0039d316-1c4b-4281-b951-d872f2087c98
* Don't save the cert chain in cert_list_.ukai@chromium.org2009-06-082-32/+26
| | | | | | | | | BUG=none TEST=net_unittests passes Review URL: http://codereview.chromium.org/119165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17848 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash on fallback in HttpNetworkTransaction::ReconsiderProxyAfterError().willchan@chromium.org2009-06-062-1/+48
| | | | | | | | | | If the socket doesn't exist, don't try to Disconnect() it. BUG=http://www.crbug.com/13375 TEST=See bug for repro. Review URL: http://codereview.chromium.org/119228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17808 0039d316-1c4b-4281-b951-d872f2087c98
* Add svn:eol-style LF to some file.ericroman@google.com2009-06-051-185/+184
| | | | | | | | | | BUG=NONE TEST=NONE TBR=wtc Review URL: http://codereview.chromium.org/114084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17784 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Report more info from the current experiment.rvargas@google.com2009-06-053-19/+43
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/119218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17772 0039d316-1c4b-4281-b951-d872f2087c98
* Send the "Proxy-Connection: keep-alive" header with HTTP CONNECTwtc@chromium.org2009-06-052-12/+21
| | | | | | | | | | | | | | requests for compatibility with HTTP/1.0 proxies such as Squid. This is required for NTLM authentication. Fix some cpplint.py nits in http_network_transaction_unittest.cc. R=eroman BUG=http://crbug.com/8771 TEST=net_unittests passes all tests Review URL: http://codereview.chromium.org/118316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17761 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r17673, except for the code cleanup.wtc@chromium.org2009-06-051-6/+38
| | | | | | | | | | | | I will try the real fix (sending the "Proxy-Connection: keep-alive" header with HTTP CONNECT requests) next. R=eroman BUG=http://crbug.com/8771 TEST=none Review URL: http://codereview.chromium.org/114083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17759 0039d316-1c4b-4281-b951-d872f2087c98
* Don't consider a certificate revoked if we don't havewtc@chromium.org2009-06-051-2/+5
| | | | | | | | | | | | | | | fresh revocation status of the certificate. We haven't written the code for NSS to use our network stack to download CRLs or talk to OCSP responders, so NSS doesn't have any revocation info. R=agl,ukai BUG=http://crbug.com/13336 TEST=none (requires a Linux system with NSS 3.12.3) Review URL: http://codereview.chromium.org/118314 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17756 0039d316-1c4b-4281-b951-d872f2087c98
* Use res_ninit for thread safety and a timer for reloading resolv.conf on Linux.evan@chromium.org2009-06-051-2/+76
| | | | | | | | | | | | | | We will only reload resolv.conf once per second per thread when DNS lookups fail. This should match the behaviour of mozilla. [retry of r17530, passes Valgrind now] BUG=12740 Review URL: http://codereview.chromium.org/118061 Patch from Craig Schlenter <craig.schlenter@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17750 0039d316-1c4b-4281-b951-d872f2087c98
* Add two small features to the HttpCache for benchmarking/debugging.mbelshe@google.com2009-06-053-11/+55
| | | | | | | | | | | | | | | | | | The first exposes a method to close all idle sockets. This allows me to create benchmark tests in the app which can close connections before starting the test for better simulations. The second change is to expose cache modes for cache disabled and cache bypassed. DISABLE sets the LOAD_DISABLE_CACHE on every request; BYPASS sets the LOAD_BYPASS_CACHE on every request. TEST=http_cache_unittest.cc BUG=6754 Review URL: http://codereview.chromium.org/119189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17720 0039d316-1c4b-4281-b951-d872f2087c98
* Make ClientSocketPool an interface. Move ClientSocketPool code into ↵willchan@chromium.org2009-06-057-206/+267
| | | | | | | | | | TCPClientSocketPool. Strictly a refactoring. BUG=http://www.crbug.com/13289 TEST=still builds and tests pass Review URL: http://codereview.chromium.org/119184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17710 0039d316-1c4b-4281-b951-d872f2087c98
* Update google's certificate to the latest version.ukai@chromium.org2009-06-051-34/+34
| | | | | | | | | | | | | | | Current cert was already expired on Sat May 2 17:02:55 UTC 2009. Update to the cert of validity Not Before: Mar 18 23:35:19 2008 GMT Not After : Mar 18 23:35:19 2011 GMT BUG=none TEST=net_unittests passes Review URL: http://codereview.chromium.org/118231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17706 0039d316-1c4b-4281-b951-d872f2087c98
* Check in the fourth Portable FTP CL from Ibrar Ahmedwtc@chromium.org2009-06-056-108/+285
| | | | | | | | | | | | | | | | <ibrar.ahmad@gmail.com>. Now we can browse some ftp sites and can download files. There are some TODO yet to be fixed. Original review: http://codereview.chromium.org/115291 R=wtc BUG=http://crbug.com/4965 TEST=none Review URL: http://codereview.chromium.org/118274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17703 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce probability of SDCH holdback to 1%jar@chromium.org2009-06-051-2/+2
| | | | | | | | | | | | Anticipating a broader test base, I wanted to reduce the percentage of uses that were "holdback" (sdch not used when it was available). This should reduce the impact on users, and also be sufficient to get verification statistics from a larger group. r=huanr Review URL: http://codereview.chromium.org/118287 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17700 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent SDCH from re-trying to download a dicitionaryjar@chromium.org2009-06-051-0/+1
| | | | | | | | | | | | | Some dicitoaries provided by an SDCH server may be larger than allowed by Chromium (which holds the dictionary memory-resident). This CL prevents Chromium from endlessly re-trying such dicitonary loads, BUG=7722 r=huanr Review URL: http://codereview.chromium.org/119198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17699 0039d316-1c4b-4281-b951-d872f2087c98
* Use a "SessionDependencies" helper in the http unit tests.ericroman@google.com2009-06-051-194/+188
| | | | | | | | This avoids some duplication in setup. Review URL: http://codereview.chromium.org/118293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17694 0039d316-1c4b-4281-b951-d872f2087c98