summaryrefslogtreecommitdiffstats
path: root/net
Commit message (Collapse)AuthorAgeFilesLines
...
* Simple Cache: set variable index flush delayspasko@chromium.org2013-06-182-5/+32
| | | | | | | | | | | | | The flush delay is pulled from the experiment. The experiment group encodes two values in the name separated by underscore. For example, experiment group "5000_100" would set foreground flush interval to 5 seconds and background interval to 100ms. I don't like commas in the name. BUG=250796 Review URL: https://chromiumcodereview.appspot.com/17076006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207087 0039d316-1c4b-4281-b951-d872f2087c98
* Move message_pump to base/message_loop.brettw@chromium.org2013-06-181-7/+8
| | | | | | | | | | | | This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. Reland of 206507. Original review https://codereview.chromium.org/17078005/ TBR=sky Review URL: https://codereview.chromium.org/16897006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207075 0039d316-1c4b-4281-b951-d872f2087c98
* Land Recent QUIC changes.rtenneti@chromium.org2013-06-1824-202/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging changes from chromium CL - 16203007 Merge internal change: 48035020 Minor changes from review comments from CL 48035020. Fix http://crbug.com/248737 where QuicSession::ConnectionClose would DCHECK when attempting to close a stream that did not close via ConnectionClose. Add regression test. Merge internal change: 47988326 Added a helper method SetSelfAddress to set the real address. Merge internal change: 47983053 Allow packets to be sent by the client when encryption is first established without waiting for the handshake to be confirmed. Simply doing this made the LargePost test flaky. To deal with *that* problem, I made two more changes: 1) When setting up an RTO for an ENCRYPTION_NONE packet, do not exponentially back off. 2) When an endpoint receives encrypted packets that can not be decrypted buffer some of them and attempt to re-process them when the endpoint moves to the next encryption level. Merge internal change: 47934275 Fix grammatical errors in comments. Merge internal change: 47877973 QUIC: allow replay protection to be configured. Bandaid nodes can't run a shared strike-register (at least, not without a lot of trouble) so would need different orbits for each machine. However, we'll be sending HTTP requests on the QUIC connection anyway - and will be falling back to HTTP in the event of a failure. So there's no actual security. Rather than burn round trips having the clients fetch new server configs each time they talk to a new Bandaid machine, just disable replay protection and give them all the same server config. This change is the QUIC part of disabling replay protection. The GFE config still remains to be done, as does the distribution of server configs to the Bandaid machines. Merge internal change: 47857583 Removing an unnecessary API from the quic stream sequencer, cleaning up an obsolete GFE TODO. We propagate stream RSTs immediately (via PropogateClose gfe-side) so no longer need to pull them from the sequencer. Merge internal change: 47848450 Minor cleanup change for SetNonce in StrikeRegisterTest per wtc's comments in CL: https://codereview.chromium.org/15937012/ R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/17302002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207016 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the mapped_file_avoid_mmap_posix implementation.qsr@chromium.org2013-06-186-25/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | This implementation use copy on write mmap and read-only protection to be notified when a new page is written to in memory so that only the changed pages have to be written to disk. It allows to divide by 2 the memory used, as well as prevent a linear search when saving data back to disk This is a reland of svn://svn.chromium.org/chrome/trunk/src@205833Fixing the issue with Galaxy S4. The issue was that this device's system GL drivers are installing a temporary signal handler with signal() instead of sigation, and so when restoring, the signal is called without its arguments. This solve the issue by reinstalling the signal with the right argument when we detect we are incorrectly called. BUG=245782,248489,249880 Review URL: https://chromiumcodereview.appspot.com/17260003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206971 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Sign() method of Channel_id for NSS.rtenneti@chromium.org2013-06-1811-40/+122
| | | | | | Review URL: https://chromiumcodereview.appspot.com/16126013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206913 0039d316-1c4b-4281-b951-d872f2087c98
* Add randomness to proxy bypass timeout on iOSbengr@chromium.org2013-06-181-1/+1
| | | | | | | | | | | Fix ifdef around proxy bypass timeout, so it's randomized on iOS, just like on Android. BUG=249935 Review URL: https://chromiumcodereview.appspot.com/17108004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206870 0039d316-1c4b-4281-b951-d872f2087c98
* [SPDY] Avoid crash when an active stream closes another when it is closedakalin@chromium.org2013-06-181-4/+8
| | | | | | | | | | | | This CL is as small as possible as it might need to be merged to other branches. Tests will come in a future CL. BUG=250841 R=rch@chromium.org Review URL: https://codereview.chromium.org/17066005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206851 0039d316-1c4b-4281-b951-d872f2087c98
* X509Certificate::GetDefaultNickname should handle a user certificatewtc@chromium.org2013-06-174-3/+136
| | | | | | | | | | | | | | | | whose Subject field doesn't have a common name (but has an email address). This was previously https://codereview.chromium.org/10341005/ R=rsleevi@chromium.org BUG=126023 TEST=new unit test X509CertificateTest.GetDefaultNickname, only if USE_NSS is defined. Review URL: https://chromiumcodereview.appspot.com/17093010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206844 0039d316-1c4b-4281-b951-d872f2087c98
* Fix wrong header guards found by clang's new Wheader-guard.thakis@chromium.org2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Example diagnostic: In file included from ../../ppapi/tests/test_flash_file.cc:5: ../../ppapi/tests/test_flash_file.h:5:9: error: 'PAPPI_TESTS_TEST_FLASH_FILE_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../ppapi/tests/test_flash_file.h:6:9: note: 'PPAPI_TESTS_TEST_FLASH_FILE_H_' is defined here; did you mean 'PAPPI_TESTS_TEST_FLASH_FILE_H_'? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PAPPI_TESTS_TEST_FLASH_FILE_H_ 1 error generated. BUG=none R=ben@chromium.org Review URL: https://codereview.chromium.org/17321002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206837 0039d316-1c4b-4281-b951-d872f2087c98
* Miscellaneous cleanup of TLS 1.2 code.wtc@chromium.org2013-06-177-199/+1064
| | | | | | | | | | | | | | | | | | | | | 1. Support TLS 1.2 in PKCS #11 bypass mode. 2. Delay the creation of handshake hash contexts until we have established the handshake hash functions. 3. Buffer handshake messages until the handshake hash contexts have been created. 4. Fix the double ssl3_RestartHandshakeHashes calls, by removing the ssl3_RestartHandshakeHashes call in ssl3_NewHandshakeHashes. 5. Remove redundant ssl3_InitState calls. 6. Remove NSS_SURVIVE_DOUBLE_BYPASS_FAILURE support, so that ss->ssl3.hs.messages is used for only one purpose. R=agl@chromium.org BUG=90392 TEST=none Review URL: https://chromiumcodereview.appspot.com/17109007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206827 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize public suffix list implementationnyquist@chromium.org2013-06-179-22504/+22190
| | | | | | | | | | | | | | | | | | * Changes the datastructure used for each DomainRule to only have a char* and an int, instead of also including a bool. The int is then used as a flag to indicate exception, wildcard and/or private. * Flipped the order of operations for checking whether this is a private domain and whether private domains should be included, since most callers do not include private domains. * Use -m 10 instead of -m 5 flag when running gperf to further optimize the size of the lookup table. BUG=245442 R=pam@chromium.org Review URL: https://codereview.chromium.org/17155003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206813 0039d316-1c4b-4281-b951-d872f2087c98
* Allow custom TaskRunners for async operations in net::FileStream.earthdok@google.com2013-06-176-26/+71
| | | | | | | | | | | | | | | | | Make the FileStream constructor accept as a parameter the TaskRunner to be used for async file operations. Use base::WorkerPool by default. Also, change webkit::LocalFileStreamReader so that the same TaskRunner that we use for other file operations is passed to FileStream. With this change, FileSystemFileStreamReader tests shut down cleanly, whereas previously they leaked memory. BUG=248513 R=willchan,kinuko Review URL: https://chromiumcodereview.appspot.com/16986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206767 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_ptr<T>(NULL) to use the default ctor.dcheng@chromium.org2013-06-171-2/+1
| | | | | | | | | | | | | | | This is a manual cleanup of call sites that invoke scoped_ptr<T>'s constructor with an explicit NULL argument, since the clang tooling infrastructure does not work on Windows. Also fixes a misuse of scoped_ptr<T> in chrome_frame to hold memory allocated by operator new[]. BUG=173286 R=alexeypa@chromium.org, erg@chromium.org, jochen@chromium.org, mmenke@chromium.org, tommi@chromium.org Review URL: https://codereview.chromium.org/16943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206763 0039d316-1c4b-4281-b951-d872f2087c98
* Gracefully handle an asynchronous write disconnect when an SSL read is pendingrsleevi@chromium.org2013-06-172-10/+99
| | | | | | | | | BUG=249848 R=wtc Review URL: https://chromiumcodereview.appspot.com/17105003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206751 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce verbosity of net::SocketStreamricea@chromium.org2013-06-171-2/+2
| | | | | | | | | | | Demote LOG(ERROR) messages to DVLOG(1). BUG=249720 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/17046004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Updating the mapped_file_avoid_mmap_posix implementation."dfalcantara@chromium.org2013-06-156-292/+25
| | | | | | | | | | | | | This reverts r205833 (commit 71f3eab9991af6e35ec6e2a2c2ddeaafe2dcbc6a) because it was causing crashes on Galaxy S4s. Original: https://chromiumcodereview.appspot.com/16415005 BUG=249880,245782,248489 Review URL: https://chromiumcodereview.appspot.com/17115005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206606 0039d316-1c4b-4281-b951-d872f2087c98
* Removed spurious uses of RunUntilIdle from the MDnsClient unit testsnoamsml@chromium.org2013-06-151-47/+10
| | | | | | | | | | | Removed unnecessary uses of RunUntilIdle from the MDnsClient unit tests, since they were not helping the tests' correctness. TEST=MDnsTest.* Review URL: https://chromiumcodereview.appspot.com/17107002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206600 0039d316-1c4b-4281-b951-d872f2087c98
* [Second attempt] Implement ChannelIDVerifier using NSS.wtc@chromium.org2013-06-155-12/+346
| | | | | | | | | | | | | | | | | | | Add known answer tests for ChannelIDVerifier. This requires adding a ChannelIDVerifier::VerifyRaw method that can verify a standard signature (as opposed to a ChannelID signature) because I only have test vectors for standard ECDSA signatures. Disable the QuicCryptoServerStreamTest.ChannelID test. Old review URL: https://codereview.chromium.org/16638016 R=agl@chromium.org,rtenneti@chromium.org BUG=none TEST=net_unittests --gtest_filter=ChannelIDTest.VerifyKnownAnswers Review URL: https://chromiumcodereview.appspot.com/17121002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206577 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the SpdyNetworkTransaction tests and parametrize them on a NextProtoakalin@chromium.org2013-06-156-6786/+1061
| | | | | | | | | BUG=226192 R=rch@chromium.org Review URL: https://codereview.chromium.org/16816010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206536 0039d316-1c4b-4281-b951-d872f2087c98
* media: Remove VP9 flag, and enable VP9 support by default.tomfinegan@chromium.org2013-06-151-1/+2
| | | | | | | | | BUG=180280 TEST=VP9 pipeline integration tests pass Review URL: https://chromiumcodereview.appspot.com/16830004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206530 0039d316-1c4b-4281-b951-d872f2087c98
* AppCacheExecutableHandlers groundwork.michaeln@google.com2013-06-141-0/+4
| | | | | | | | | | | | | - define interfaces for their construction and invocation - utilize that interface in AppCacheUrlRequestJob There is no impl of the handler class or its factory yet, just some groundwork. BUG=101800 R=alecflett@chromium.org, rvargas@chromium.org Review URL: https://codereview.chromium.org/14557006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206520 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 206507 "Move message_pump to base/message_loop."brettw@chromium.org2013-06-141-8/+7
| | | | | | | | | | | | | | | | | > Move message_pump to base/message_loop. > > This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. > > BUG= > R=sky@chromium.org > > Review URL: https://codereview.chromium.org/17078005 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/16897005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206513 0039d316-1c4b-4281-b951-d872f2087c98
* Move message_pump to base/message_loop.brettw@chromium.org2013-06-141-7/+8
| | | | | | | | | | | This also fixes some namespace usage inside the message pump files and updates all users of these files to use the new location. BUG= R=sky@chromium.org Review URL: https://codereview.chromium.org/17078005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206507 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 206486 "Implement ChannelIDVerifier using NSS."wtc@chromium.org2013-06-145-346/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | It breaks the ChromiumOS (amd64) build: net/quic/crypto/channel_id_nss.cc: In static member function 'static bool net::ChannelIDVerifier::VerifyRaw(base::StringPiece, base::StringPiece, base::StringPiece, bool)': net/quic/crypto/channel_id_nss.cc:55:20: error: narrowing conversion of 'signature.base::BasicStringPiece<std::basic_string<char> >::<anonymous>.base::internal::StringPieceDetail<STRING_TYPE>::size<std::basic_string<char> >()' from 'base::internal::StringPieceDetail<std::basic_string<char> >::size_type {aka long unsigned int}' to 'unsigned int' inside { } is ill-formed in C++11 [-Werror=narrowing] > Implement ChannelIDVerifier using NSS. > > Add known answer tests for ChannelIDVerifier. This requires adding a > ChannelIDVerifier::VerifyRaw method that can verify a standard signature > (as opposed to a ChannelID signature) because I only have test vectors > for standard ECDSA signatures. > > Disable the QuicCryptoServerStreamTest.ChannelID test. > > R=agl@chromium.org,rtenneti@chromium.org > BUG=none > TEST=net_unittests --gtest_filter=ChannelIDTest.VerifyKnownAnswers > > Review URL: https://chromiumcodereview.appspot.com/16638016 TBR=wtc@chromium.org Review URL: https://codereview.chromium.org/17101004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206495 0039d316-1c4b-4281-b951-d872f2087c98
* Report the new error ERR_SSL_DECRYPT_ERROR_ALERT when we receive thewtc@chromium.org2013-06-143-1/+9
| | | | | | | | | | | | | | | TLS decrypt_error alert message from the peer. This prevents a bad signature in our CertificateVerify message from triggering a TLS version fallback. R=agl@chromium.org,rsleevi@chromium.org BUG=248355 TEST=none Review URL: https://chromiumcodereview.appspot.com/16478003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206491 0039d316-1c4b-4281-b951-d872f2087c98
* Implement ChannelIDVerifier using NSS.wtc@chromium.org2013-06-145-12/+346
| | | | | | | | | | | | | | | | | Add known answer tests for ChannelIDVerifier. This requires adding a ChannelIDVerifier::VerifyRaw method that can verify a standard signature (as opposed to a ChannelID signature) because I only have test vectors for standard ECDSA signatures. Disable the QuicCryptoServerStreamTest.ChannelID test. R=agl@chromium.org,rtenneti@chromium.org BUG=none TEST=net_unittests --gtest_filter=ChannelIDTest.VerifyKnownAnswers Review URL: https://chromiumcodereview.appspot.com/16638016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206486 0039d316-1c4b-4281-b951-d872f2087c98
* Extend SpdyFramerDebugVisitorInterface interface.akalin@chromium.org2013-06-143-45/+89
| | | | | | | | | | | | | | | | | | | | | In chrome we need more detailed data on compression/decompression. I've renamed methods and added stream_id, frame type and frame prefix length parameters. I've changed the scope of reporting - one message per frame. This helped to fix bug with compressed size reporting: previously we reported compressed size several times for one block. For example, in test we see that sum of compressed lengths for frame is 3x of real compressed length. This lands server change 47952359. BUG= R=rch@chromium.org Review URL: https://codereview.chromium.org/16843013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206453 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the HttpNetworkTransaction tests and parametrize them on a NextProtoakalin@chromium.org2013-06-146-11755/+536
| | | | | | | | | | | Add (partial) support for SPDY/3.1 and SPDY/4a2 for HttpNetworkTransaction unit tests. BUG=226192 Review URL: https://chromiumcodereview.appspot.com/17028007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206424 0039d316-1c4b-4281-b951-d872f2087c98
* Fix grammar in recurring macro commentjanx@chromium.org2013-06-143-3/+3
| | | | | | | | | | | | Trivial patch changing "generate enum" to "generate enum values" in comments justifying the lack of include guards in xmacro value lists. NOTRY=true TBR=yfriedman,atwilson,gavinp Review URL: https://chromiumcodereview.appspot.com/16147015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206405 0039d316-1c4b-4281-b951-d872f2087c98
* Remove MultipartSlowHandler, since the extension test referencing ↵senorblanco@chromium.org2013-06-141-30/+0
| | | | | | | | multipart-slow has been removed. Review URL: https://chromiumcodereview.appspot.com/16860011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206342 0039d316-1c4b-4281-b951-d872f2087c98
* Media Galleries: Allow access to a few more audio file extensions.thestig@chromium.org2013-06-142-1/+40
| | | | | | | | | | | Most of them are just the audio variants to video containers and get sniffed as their video equivalents. The only new audio type added to the mime sniffer is FLAC. BUG=248673 Review URL: https://chromiumcodereview.appspot.com/16800002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206300 0039d316-1c4b-4281-b951-d872f2087c98
* Work around GTE CyberTrust/Baltimore CyberTrust cross-signing issuesrsleevi@chromium.org2013-06-1410-52/+648
| | | | | | | | | | | | | | | OS X's lack of robust support for cross-signed certificates, combined with the impending removal of the legacy GTE CyberTrust 1024-bit root in favour of the 2048-bit Baltimore CyberTrust Root, will soon cause issues for sites that need to use the cross-signed intermediate. Fix up the chain on the fly when dealing with such sites. BUG=236112 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/14492003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206274 0039d316-1c4b-4281-b951-d872f2087c98
* Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-135-18/+17
| | | | | | | | | | | OS X fixes and post-Linux cleanup BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/16402003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206189 0039d316-1c4b-4281-b951-d872f2087c98
* Make net and ipc explicitly use the base namespace for Values.brettw@chromium.org2013-06-1348-278/+279
| | | | | | | | | | | They're currently relying on a using in values.h that we want to remove. I removed several usings in net for consistency. BUG= R=willchan@chromium.org Review URL: https://codereview.chromium.org/15662008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206187 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix compatibility with nss-3.15 .phajdan.jr@chromium.org2013-06-131-0/+6
| | | | | | | | | | | | See https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/Jwz20yLB_7E/acOh0BYai30J for more info. BUG=none R=wtc@chromium.org Review URL: https://codereview.chromium.org/16982002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206184 0039d316-1c4b-4281-b951-d872f2087c98
* Update Android to use scoped_refptr<T>::get() rather than implicit "operator T*"rsleevi@chromium.org2013-06-133-40/+41
| | | | | | | | | | | Android fixes and post-Linux cleanup BUG=110610 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/16907002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206179 0039d316-1c4b-4281-b951-d872f2087c98
* Multicast DNS implementation (initial)noamsml@chromium.org2013-06-1311-0/+2170
| | | | | | | | | | | | | | | | | | An implementation of multicast DNS in net/. Currently, the multicast DNS implementation supports the following features: - Listeners, which can be notified of any changes to records of a certain type and name, or records of a certain type. - Transactions, which allow users to query multicast DNS for a specific unique record (e.g. an address) BUG=233821 TEST=MDnsTest.*,MDnsConnectionTest.* Review URL: https://chromiumcodereview.appspot.com/15733008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206170 0039d316-1c4b-4281-b951-d872f2087c98
* convert most remaining function callbacks to new styledcarney@chromium.org2013-06-131-41/+66
| | | | | | | | | | R=jochen@chromium.org TBR=eroman@chromium.org BUG=243656 Review URL: https://chromiumcodereview.appspot.com/16871009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206155 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using SequencedWorkerPool in Simple Cache backend.gavinp@chromium.org2013-06-137-31/+83
| | | | | | | | | | | | At present, no sequencing behaviour is used, only the thread maximum, which still can provide performance benefits. R=pasko BUG=248570 Review URL: https://chromiumcodereview.appspot.com/15817015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206132 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Fix back some style changes made recently.rvargas@google.com2013-06-136-117/+52
| | | | | | | | | | | | No real code change. BUG=none TEST=none R=rsleevi@chromium.org Review URL: https://codereview.chromium.org/16916002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206112 0039d316-1c4b-4281-b951-d872f2087c98
* Give more request types a TransportSecurityState.palmer@chromium.org2013-06-1319-4/+74
| | | | | | | | | | | | DCHECK on NULL TransportSecurityState, as a precursor to a real CHECK. It should be an error to try to connect with an SSL client socket without having a live TSS. BUG=246724 Review URL: https://chromiumcodereview.appspot.com/16501002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206013 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_ptr<T>(NULL) to use the default ctor in net/.dcheng@chromium.org2013-06-1222-68/+36
| | | | | | | | | | | This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the net/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16434016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205961 0039d316-1c4b-4281-b951-d872f2087c98
* QUIC: support for rotating QUIC server configs.rtenneti@chromium.org2013-06-128-279/+935
| | | | | | | | | | | | | | In the limit, we would want to rotate QUIC server configs in the same fashion as we rotate TLS SessionTicket keys because the initial client application data isn't forward secure. Merge internal change: 47706026 R=rch@chromium.org Review URL: https://chromiumcodereview.appspot.com/16203007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205946 0039d316-1c4b-4281-b951-d872f2087c98
* Disk cache: Main definition of the file format version 3.rvargas@google.com2013-06-123-96/+139
| | | | | | | | | | BUG=241277 TEST=none R=gavinp@chromium.org Review URL: https://codereview.chromium.org/16583006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205902 0039d316-1c4b-4281-b951-d872f2087c98
* net: use IsSecureScheme rather than matching "https".agl@chromium.org2013-06-125-8/+8
| | | | | | | | | | | | My r202927 matched against a scheme of "https" in order to be consistent with the other users in the same file. But it appears that IsSecureScheme is the better answer throughout the file. BUG=244260 Review URL: https://chromiumcodereview.appspot.com/16776005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205898 0039d316-1c4b-4281-b951-d872f2087c98
* net: add a new message for AEAD ciphers.agl@chromium.org2013-06-123-63/+80
| | | | | | | | | | | | | Currently we display GCM ciphersuites as "CTR" mode for the encryption with a MAC of "GHASH". This change adds a new template for AEAD modes that lets us express that both encryption and authentication are provided by the same primitive. BUG=none Review URL: https://chromiumcodereview.appspot.com/15714010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205848 0039d316-1c4b-4281-b951-d872f2087c98
* Updating the mapped_file_avoid_mmap_posix implementation.qsr@chromium.org2013-06-126-25/+292
| | | | | | | | | | | | | | | | This implementation use copy on write mmap and read-only protection to be notified when a new page is written to in memory so that only the changed pages have to be written to disk. It allows to divide by 2 the memory used, as well as prevent a linear search when saving data back to disk R=digit@chromium.org BUG=245782,248489 Review URL: https://chromiumcodereview.appspot.com/16415005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205833 0039d316-1c4b-4281-b951-d872f2087c98
* Handle includeSubdomains for public key pinning.palmer@chromium.org2013-06-124-24/+35
| | | | | | | | | | Separately from include subdomains for strict transport security. BUG=243865 Review URL: https://chromiumcodereview.appspot.com/16499005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205804 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment to SocketStreamEventRecorder about when and how callback is called.tyoshino@chromium.org2013-06-121-0/+3
| | | | | | Review URL: https://chromiumcodereview.appspot.com/14824004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205794 0039d316-1c4b-4281-b951-d872f2087c98
* Use URLFetcherFactory for 3-arg overload of URLFetcher::Createdcheng@chromium.org2013-06-121-3/+3
| | | | | | | | | | | | The fact that only one of the overloads was affected by instantiating a TestURLFetcherFactory/FakeURLFetcherFactory caused me to spend half an hour wondering why another one of my changes didn't work. BUG=none Review URL: https://chromiumcodereview.appspot.com/16792005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205732 0039d316-1c4b-4281-b951-d872f2087c98