summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
* Change the default of the SSL_ENABLE_OB_CERTS option to PR_FALSE.wtc@chromium.org2011-10-132-2/+2
| | | | | | | | | | | | | This change does not affect Chromium because Chromium doesn't depend on the default value of this SSL option. R=mattm@chromium.org BUG=88782 TEST=none Review URL: http://codereview.chromium.org/8249012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105241 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 105215 - Disk Cache: Close the deleted list experiment for new users.rvargas@google.com2011-10-131-6/+28
| | | | | | | | | | | | | | | | | | | | | | | This is intended for the 15.0.874 branch. BUG=97296 TEST=none TBR=gavinp@chromium.org Review URL: http://codereview.chromium.org/8233019 TBR=rvargas@google.com Review URL: http://codereview.chromium.org/8260006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105237 0039d316-1c4b-4281-b951-d872f2087c98
* Disk Cache: Close the deleted list experiment for new users.rvargas@google.com2011-10-131-28/+6
| | | | | | | | | | | | | | This is intended for the 15.0.874 branch. BUG=97296 TEST=none TBR=gavinp@chromium.org Review URL: http://codereview.chromium.org/8233019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105215 0039d316-1c4b-4281-b951-d872f2087c98
* net: more Brocade users for the blacklist.agl@chromium.org2011-10-121-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105187 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify a comparison for disabled cipher suites in SSLConfigServicersleevi@chromium.org2011-10-121-6/+2
| | | | | | | | | | | R=wtc@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/8243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105186 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the unused source_net_log parameter from ResolveHelper. Thiswtc@chromium.org2011-10-122-9/+5
| | | | | | | | | | | | | | also fixes the wrong argument order in one of the ResolveHelper calls. This bug was introduced in http://codereview.chromium.org/7492059/. R=cbentzel@chromium.org,eroman@chromium.org BUG=100080 TEST=net_unittests Review URL: http://codereview.chromium.org/8220028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105184 0039d316-1c4b-4281-b951-d872f2087c98
* Remove declaration for SSLConfigService::CreateSystemSSLConfigService.rsleevi@chromium.org2011-10-121-7/+0
| | | | | | | | | | | | | The actual implementation was removed in r85243 R=rtenneti@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/8240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105124 0039d316-1c4b-4281-b951-d872f2087c98
* net: narrow HSTS for (*.)dropcam.com to (www.)dropcam.comagl@chromium.org2011-10-122-2/+6
| | | | | | BUG=100061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105100 0039d316-1c4b-4281-b951-d872f2087c98
* net: disable Twitter's CDN pins for debugging.agl@chromium.org2011-10-122-80/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105089 0039d316-1c4b-4281-b951-d872f2087c98
* net: ignore revocation check failures when fetching a proxy script.agl@chromium.org2011-10-121-0/+5
| | | | | | | | | | | | | | | | Revocation checking should already be disabled for loading PAC scripts but rsleevi suggests that there's a bug in OS X which causes revocation checking to occur anyway. That would explain when the bug reporter saw UNABLE_TO_CHECK_REVOCATION. Therefore, ignore revocation check failures when fetching PAC scripts. BUG=98833 TEST=Block access to the OCSP and CRL for a certificate in a chain for an HTTPS PAC script. Check that the PAC script still loads. Review URL: http://codereview.chromium.org/8201009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105086 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore revocation check failures from automated requests.agl@chromium.org2011-10-122-2/+15
| | | | | | | | | | | | | | Extensions send requests without a TabContents, therefore we can't route SSL errors to their SSLManager. Since, without a UI, we have to make a static decision, this change makes it so that revocation check failures are ignored for these requests. BUG=86537 TEST=none Review URL: http://codereview.chromium.org/8201011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105082 0039d316-1c4b-4281-b951-d872f2087c98
* net: more Brocade users for the blacklist.agl@chromium.org2011-10-121-0/+3
| | | | | | BUG=98908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105075 0039d316-1c4b-4281-b951-d872f2087c98
* net: another HSTS preloaded addition.agl@chromium.org2011-10-122-0/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105074 0039d316-1c4b-4281-b951-d872f2087c98
* Expose some network configurations for performance tuning.wangxianzhu@chromium.org2011-10-1210-32/+56
| | | | | | | | | | | | Make used_idle_socket_timeout configurable. Expose max_sockets_per_pool. BUG= TEST= Review URL: http://codereview.chromium.org/8073018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105046 0039d316-1c4b-4281-b951-d872f2087c98
* Switch FileStream to use new CompletionCallback.willchan@chromium.org2011-10-1210-149/+160
| | | | | | | | | | BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8139019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105042 0039d316-1c4b-4281-b951-d872f2087c98
* Persist Alternate-Protocol.willchan@chromium.org2011-10-128-10/+99
| | | | | | | | | | | | | Record Alternate-Protocol servers in spdy.alternate_protocol. Don't persist broken Alternate-Protocol so they will retry on next browser session. Also fix listening to notifications when we're the ones setting them. This was leading to unnecessary double updates, where we'd update the cache on the IO thread, and then propagate to the UI thread, where we'd set the prefs, and then observe that change and propagate back to the IO thread to update the cache. BUG=98472 TEST=Observe that spdy.alternate_protocol is empty in your Preferences file. Confirm that there is no alternate-protocol mapping in chrome://net-internals/#spdy. Browse to www.strangeloopnetworks.com. Check chrome://net-internals/#spdy again and notice that it populates with the mapping. Wait some seconds and then check the Preferences file again and note that it got persisted to disk. Restart Chrome and check chrome://net-internals/#spdy and note that the same alternate-protocol mappings reappear. Review URL: http://codereview.chromium.org/8221030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105028 0039d316-1c4b-4281-b951-d872f2087c98
* Change EOL setting of net/socket/client_socket_pool.ccwangxianzhu@chromium.org2011-10-121-33/+33
| | | | | | | | | Will change the actual EOL in CL http://codereview.chromium.org/8073018. TBR=maruel@chromium.org Review URL: http://codereview.chromium.org/8242001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105025 0039d316-1c4b-4281-b951-d872f2087c98
* Modify WaitableEvent::Wait() to return voidsteveblock@chromium.org2011-10-121-2/+1
| | | | | | | | | | | | | | | Currently, WaitableEvent::Wait() returns bool. However, the Windows implementation DCHECKs that the return value is true and the POSIX implementation can never return false. Also, all call sites that use the return value simply DCHECK that it's true. This change modifies the method to return void, adds a DCHECK in the POSIX implementation and updates call sites. Review URL: http://codereview.chromium.org/8221021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104990 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetHostCache to HostResolver interface, and use themmenke@chromium.org2011-10-1210-14/+34
| | | | | | | | | | | | | | | new method to hook up AsyncHostResolver to about:net-internals#dns and to clear DNS cache hooks. Also fix up DNSTransaction's NetLog logging a little. R=eroman,cbentzel,szym BUG=99847 TEST=manual Review URL: http://codereview.chromium.org/8233013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104988 0039d316-1c4b-4281-b951-d872f2087c98
* webRequest.onAuthRequired listeners can provide authentication credentials.cbentzel@chromium.org2011-10-111-0/+8
| | | | | | | | | | | | | | | | onAuthRequired listeners that specify "blocking" in the extraInfoSpec can return authentication credentials [username and password] in the BlockingResponse. If these are provided, Chrome will use these credentials rather than showing a login prompt for the user. If "blocking" is not specified, or an authCredentials object is not present in the BlockingResponse, then a login prompt will be displayed. Warning: If the authentication credentials are invalid, the extension may still present credentials for subsequent challenges. This could lead to infinite loops of bad credentials being entered without user intervention. BUG=32056 TEST=Write an extension which does a blocking onAuthRequired and provides correct credentials, validate that it works. Review URL: http://codereview.chromium.org/8015004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104896 0039d316-1c4b-4281-b951-d872f2087c98
* Removed FLAKY from BackupSocketFailAfterStall to seertenneti@chromium.org2011-10-111-1/+1
| | | | | | | | | | | | if we still fail. Recent runs indicate these tests are not flaky. TEST=net_unittest BUG=89273 R=wtc Review URL: http://codereview.chromium.org/8220009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104860 0039d316-1c4b-4281-b951-d872f2087c98
* TcpClientSocketWin::IsConnected could detect EOFtoyoshim@chromium.org2011-10-111-0/+6
| | | | | | | | | | | | | before the last received packet is returned via completion callback. BUG=98664 TEST=LayoutTests/http/tests/websocket/tests/hybi/close.html Review URL: http://codereview.chromium.org/8083031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104852 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak of HttpServerProperties in URLRequestContextStorage.willchan@chromium.org2011-10-112-2/+2
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8222022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104840 0039d316-1c4b-4281-b951-d872f2087c98
* Certificate host matching rules should accept both absolute and relative DNS ↵rsleevi@chromium.org2011-10-112-9/+32
| | | | | | | | | | | | names. BUG=98627 TEST=net_unittests:X509CertificateNameVerifyTest.VerifyHostname Review URL: http://codereview.chromium.org/8084017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104829 0039d316-1c4b-4281-b951-d872f2087c98
* net: another batch of Brocade hosts for the blacklist.agl@chromium.org2011-10-101-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104766 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of DnsConfigService for win (+ Bind migration).szym@chromium.org2011-10-1015-304/+899
| | | | | | | | | | | | DnsConfigServiceWin watches Windows registry for changes and asks IPHelper for effective DNS server addresses. To support group policy, suffix search list is read directly from registry. (Alternative to use WMI is too cumbersome.) BUG=90881 TEST=./net_unittests --gtest_filter=DnsConfigService* Review URL: http://codereview.chromium.org/8142013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104738 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate HttpAlternateProtocols to HttpServerPropertiesImpl.willchan@chromium.org2011-10-1030-459/+441
| | | | | | | | | | | | | Hooks in HttpServerPropertiesManager also. No persistence done yet. This is all plumbing. Also require HttpServerProperties in HttpNetworkSession::Params. BUG=98472 TEST=none Review URL: http://codereview.chromium.org/8211003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104696 0039d316-1c4b-4281-b951-d872f2087c98
* FileStream unit tests now check for file close.ahendrickson@chromium.org2011-10-102-4/+48
| | | | | | | | | | | | | willchan: base/platform_file_win.cc has a comment correction. others: net/base/file_stream_unittest.cc BUG=None TEST=None Review URL: http://codereview.chromium.org/8112006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104691 0039d316-1c4b-4281-b951-d872f2087c98
* Bump up the buffer limits for SpdyFramer.willchan@chromium.org2011-10-092-3/+3
| | | | | | | | | | | This is a temporary hack until we merge SpdyFramer implementations. There are some sites which exceed our limits because their Set-Cookie headers are ginormous. BUG=none TEST=none Review URL: http://codereview.chromium.org/8198022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104683 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce net::HttpServerPropertiesManager to manage server-specific properties.rtenneti@chromium.org2011-10-0916-1/+446
| | | | | | | | | | | | | | Currently the only property we manage is whether or not a server supports SPDY, as indicated by NPN. Also introduce a chrome/ implementation of HttpServerPropertiesManager that persists the information to Prefererences. When we get a SpdySession for a SPDY server, record that that server supports SPDY in HttpServerPropertiesManager. When preconnecting, if we know that the server supports SPDY, only preconnect 1 socket. R=willchan BUG=66472 TEST=browser ui and unit tests,network unit tests Review URL: http://codereview.chromium.org/7827033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104666 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the easy ones in net/base/ to using CompletionCallback.willchan@chromium.org2011-10-0714-133/+143
| | | | | | | | | | BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8139007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104547 0039d316-1c4b-4281-b951-d872f2087c98
* net: three more Brocade sites for the blocklist.agl@chromium.org2011-10-071-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104499 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: convert some uses of NewRunnable*() to base::Bind() in the proxy code.mdm@chromium.org2011-10-061-28/+8
| | | | | | Review URL: http://codereview.chromium.org/8181002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104387 0039d316-1c4b-4281-b951-d872f2087c98
* Add App Notifications as a type in the Python Sync Test Serverelvin@google.com2011-10-061-1/+6
| | | | | | Review URL: http://codereview.chromium.org/8124018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104370 0039d316-1c4b-4281-b951-d872f2087c98
* OpenSSL component build fixes.mattm@chromium.org2011-10-061-7/+13
| | | | | | | | | | BUG=none TEST=build with component=shared_library use_openssl=1 Review URL: http://codereview.chromium.org/8166003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104342 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a few nits following http://codereview.chromium.org/8050021/bulach@chromium.org2011-10-061-2/+2
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/8135004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104274 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression where Chrome is unable to NPN negotiate SPDY to an HTTPS proxy.rch@chromium.org2011-10-061-1/+4
| | | | | | | | | BUG=99200 TEST=Follow instructions in bug 99200 Review URL: http://codereview.chromium.org/8142039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104240 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a regression introduced by http://codereview.chromium.org/8050021.wtc@chromium.org2011-10-051-3/+3
| | | | | | | | | | | | Only test USE_OPENSSL. Do not test USE_NSS. R=thomasvl@chromium.org BUG=none TEST=TransportSecurityStateTest.* Review URL: http://codereview.chromium.org/8151002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104178 0039d316-1c4b-4281-b951-d872f2087c98
* net: another batch of Brocade users for the blacklist.agl@chromium.org2011-10-051-0/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104156 0039d316-1c4b-4281-b951-d872f2087c98
* Experimental workaround for CHECK in NetworkChangeNotifierWin.mmenke@chromium.org2011-10-056-17/+429
| | | | | | | | | | | Also adds a related UMA histogram. BUG=69198 TEST=NetworkChangeNotifierWinTest.*, UMA metrics Review URL: http://codereview.chromium.org/7886036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104120 0039d316-1c4b-4281-b951-d872f2087c98
* net: disable 1/n-1 record splitting when False Start is disabled.agl@chromium.org2011-10-052-13/+15
| | | | | | | | | | | | | | Brocade SSL terminators are intolerant to 1/n-1 record splitting as well. For the sake of getting M15 out the door, this patch uses the False Start blacklist in order to switch off 1/n-1 record splitting too. This is deeply unfortunate but will be reverted on trunk as soon as it can be merged to M15. BUG=98908 TEST=none Review URL: http://codereview.chromium.org/8137027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104119 0039d316-1c4b-4281-b951-d872f2087c98
* Bocking onReceivedHeaders signal for webRequest APIbattre@chromium.org2011-10-0510-50/+204
| | | | | | | | | | | | | | This is a new signal that allows extensions to - Modify/Delete cookies of HTTP responses before they are seen by the cookie monster. - Cancel requests based on the length or content type of the HTTP response. BUG=89118 TEST=no Review URL: http://codereview.chromium.org/7931026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104091 0039d316-1c4b-4281-b951-d872f2087c98
* Return an error when multiple Location or Content-Dispositionmmenke@chromium.org2011-10-043-20/+158
| | | | | | | | | | | | headers are received. Also add text for the new errors, and add text for the related Content-Length error. BUG=98895 TEST=HttpNetworkTransactionTest.*ContentDispositionHeader, HttpNetworkTransactionTest.*LocationHeader Review URL: http://codereview.chromium.org/8136003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104016 0039d316-1c4b-4281-b951-d872f2087c98
* net: add NetSol's EV OIDs to cross-certifying roots.agl@chromium.org2011-10-041-2/+14
| | | | | | | | | | | | | | Chain building for certificates issued by Network Solutions can end up at a cross-certifying root. This change adds the NetSol EV OIDs to the roots which cross-sign it so that we still recognise them as EV. BUG=42702 TEST=Check that https://www.networksolutions.com is EV on all platforms. Review URL: http://codereview.chromium.org/8118033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104007 0039d316-1c4b-4281-b951-d872f2087c98
* net: update COMODO and Network Solutions EV root hashesagl@chromium.org2011-10-041-0/+14
| | | | | | | | | | | | | COMODO and Network Solutions EV root certificates have been reissued, changing their hash. The public keys are still the same. BUG=98858,98856 TEST=Check that EV leaves issued from these roots are still considered EV after the MS root update. Review URL: http://codereview.chromium.org/8113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103999 0039d316-1c4b-4281-b951-d872f2087c98
* net: add certificate pins for Twitter.agl@chromium.org2011-10-042-15/+189
| | | | | | | | | | | (Note some lines exceed 80 chars here. Readability suffers by linebreaking so I'm sticking with it.) BUG=none TEST=twitter.com still works Review URL: http://codereview.chromium.org/8084008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103945 0039d316-1c4b-4281-b951-d872f2087c98
* net: add ifbyphone.com to the False Start blacklist.agl@chromium.org2011-10-041-0/+1
| | | | | | | | They are also running Brocade and are also affected by the break in Chrome 15. BUG=98908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103939 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce a new CompletionCallback and TestCompletionCallback.willchan@chromium.org2011-10-047-44/+88
| | | | | | | | | | | | Start using it in DnsRRResolver. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8095026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103885 0039d316-1c4b-4281-b951-d872f2087c98
* Fix libssl to build properly with use_system_zlib==0.bradchen@google.com2011-10-041-1/+3
| | | | | | | | | | | | | | This CL replaces CL 8059021, lost due to a git repo accident. TBR=wtc BUG=30704 TEST=build chromotocol_test_client Review URL: http://codereview.chromium.org/8113013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103880 0039d316-1c4b-4281-b951-d872f2087c98
* Added a pyauto test for policy and preferences UI.joaodasilva@chromium.org2011-10-041-1/+1
| | | | | | | | | | | | This test verifies that preferences controlled by policy display the "managed by admin" banner on chrome://settings pages. BUG=None, but found a lot of other bugs! TEST=None Review URL: http://codereview.chromium.org/8021005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103876 0039d316-1c4b-4281-b951-d872f2087c98