Wwtc@chromium.orgThe WSARecv and WSASend MSDN pages say the WSABUF arrays
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
DeterministicSocketDataProvider should not be RefCounted BUG=123295 TEST=net_unittests Review URL: https://chromiumcodereview.appspot.com/10690104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145845 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the NSS functions out of CertDatabase into a new NSSCertDatabase class. BUG=chromium-os:33872 Review URL: https://chromiumcodereview.appspot.com/10916094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155720 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
NetLogEventParameter to Callback refactoring 9. Get rid of all uses of NetLogEventParameters in net/socket. R=eroman@chromium.org BUG=126243 Review URL: https://chromiumcodereview.appspot.com/10546162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142224 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Attempting to re-land a small portion of this change... Simply add links from lower layer pools to higher layer pool. Revert 10006036 - Revert 130129 - Revert 129034 - Revert 127893 - Revert 127730 - Revert 127717 - Revert 118788 - Revert 113405 - Revert 113305 - Revert 113300 - Revert 112134 - Revert 112130 - Close idle connections / SPDY sessions when needed Due to the idle connection state being held by different socket pools, it's possible for one socket pool to hold an idle socket in a lower layer socket pool. From the lower level socket pool's perspective, the socket is being "actively" used. From the higher socket pool's (including SpdySession, which is more of a connection manager) perspective, the connection is idle and can be closed if we have hit a limit. Normally this isn't a big deal, except when we have a lot of idle SPDY connections and are connecting via a proxy, so we have low connection limits through the proxy server. We address this problem by allowing lower-level socket pools to tell higher level socket pools to close a socket. Fixed ASAN test failures by removing .Times(1) and .Times(2) from CloseMultipleIdleSocketsHeldByLayeredPoolWhenNeeded unittest (this removes the tests relying on the order of std::set in CloseOneIdleConnectionInLayeredPool). ASAN is prob ably causing the memory allocator to allocate the pools differently. The std::set is ordered by LayeredPool* which is the address of the LayeredPool (willchan). Added NET_EXPORT for layered_pool class defintion to fix windows shared compile. BUG=62364, 92244, 109876, 110368, 119847 TEST= Review URL: http://codereview.chromium.org/10026024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131604 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (net/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10854063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150917 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (net/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10854063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150917 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add one-time randomization support for FieldTrial, and the ability to disable field trials. I am going to have a need for both soon. Update some documentation about empty trial names, add TrialExists() method and update many call-sites to use this (it simplifies the previous logic which checked for existence and then for non-empty name, which can no longer happen). Refactor a bit in browser_main. While I'm in there and needing base/OWNERS approval, add an OWNERS file for base/metrics that adds jar@chromium.org as an owner for that directory. Initially committed as r84197. Rolled back due to DCHECK in official builds, r84373. Will re-submit with fix. BUG=81750 TEST=base_unittests Review URL: http://codereview.chromium.org/6883102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84801 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove static variables from HttpStreamFactory. Refresh of issue 10389162. BUG=124900 Review URL: https://chromiumcodereview.appspot.com/10834215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the NSS functions out of CertDatabase into a new NSSCertDatabase class. BUG=chromium-os:33872 Review URL: https://chromiumcodereview.appspot.com/10916094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155720 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move the NSS functions out of CertDatabase into a new NSSCertDatabase class. BUG=chromium-os:33872 Review URL: https://chromiumcodereview.appspot.com/10916094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155720 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Modify DeterministicSocketData to verify that the sequence number of reads and writes start at zero and are continuous. Review URL: https://chromiumcodereview.appspot.com/10795012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147749 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove "base/values.h" import from "base/location.h", fix up downstream files. BUG=none TEST=none TBR=sky@chromium.org,dmazzoni@chromium.org,thestig@chromium.org,joaodasilva@chromium.org,willchan@chromium.org,hclam@chromium.org Review URL: http://codereview.chromium.org/9703098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127256 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
SPDY - A histogram to track spdy versions negotiated by chrome. BUG=143965 TEST=network unittests. In about:histograms, we would see Net.SpdyVersion histogram R=jar Review URL: https://chromiumcodereview.appspot.com/10860073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152855 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
net: cleanup code to disable ECDSA r151845 was merge friendly for M21. But since we don't support OS X 10.5 for M22 and onwards, we can clean it up a bit for trunk. BUG=142782 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151846 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Map the certificate related SSL alerts to ERR_BAD_SSL_CLIENT_AUTH_CERT on the client side. Move MapNSSHandshakeError to ssl_client_socket_nss.cc (and rename it MapNSSClientHandshakeError) because it is specific to the client side. R=rsleevi@chromium.org BUG=129209 TEST=none Review URL: https://chromiumcodereview.appspot.com/10332300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140897 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow server sockets to rebind to same port if there is nothing actively listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
NetLogEventParameter to Callback refactoring 9. Get rid of all uses of NetLogEventParameters in net/socket. R=eroman@chromium.org BUG=126243 Review URL: https://chromiumcodereview.appspot.com/10546162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142224 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement TLS Channel ID support for SPDY CREDENTIAL frames BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10807088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150112 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Don't abandon a DnsUDPAttempt when the response does not match the query. When an unexpected packet is read from the socket, the current behavior is to give up on this attempt and immediately make another one. Considerable fraction of observed failures is due to ERR_DNS_MALFORMED_RESPONSE errors which might be false positives. For example, if behind a NAT, we might be receiving packets through stale mappings (addressed to other hosts). Rather than simply ignoring malformed packets, this CL implements the behavior: "don't give up on this attempt, but immediately make another one." BUG=107413 TEST=./net_unittests --gtest_filter=DnsTransactionTest.MalformedResponse* Review URL: https://chromiumcodereview.appspot.com/10824238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154171 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
CapturingNetLog - remove maximum entries constructor argument. Also replace with a NULL NetLog in a couple callsites where it wasn't being used. R=eroman@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/10546071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141315 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Attempting to re-land a small portion of this change... Simply add links from lower layer pools to higher layer pool. Revert 10006036 - Revert 130129 - Revert 129034 - Revert 127893 - Revert 127730 - Revert 127717 - Revert 118788 - Revert 113405 - Revert 113305 - Revert 113300 - Revert 112134 - Revert 112130 - Close idle connections / SPDY sessions when needed Due to the idle connection state being held by different socket pools, it's possible for one socket pool to hold an idle socket in a lower layer socket pool. From the lower level socket pool's perspective, the socket is being "actively" used. From the higher socket pool's (including SpdySession, which is more of a connection manager) perspective, the connection is idle and can be closed if we have hit a limit. Normally this isn't a big deal, except when we have a lot of idle SPDY connections and are connecting via a proxy, so we have low connection limits through the proxy server. We address this problem by allowing lower-level socket pools to tell higher level socket pools to close a socket. Fixed ASAN test failures by removing .Times(1) and .Times(2) from CloseMultipleIdleSocketsHeldByLayeredPoolWhenNeeded unittest (this removes the tests relying on the order of std::set in CloseOneIdleConnectionInLayeredPool). ASAN is prob ably causing the memory allocator to allocate the pools differently. The std::set is ordered by LayeredPool* which is the address of the LayeredPool (willchan). Added NET_EXPORT for layered_pool class defintion to fix windows shared compile. BUG=62364, 92244, 109876, 110368, 119847 TEST= Review URL: http://codereview.chromium.org/10026024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131604 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Give MockRead and MockWrite distinct types. Currently, MockRead and MockWrite are defined as the same type by using typedef. However, these types are different types and should not be used interchangably. This change gives MockRead and MockWrite distinct types by using templates so the compiler can cause an error when these types are used interchangably. Some misuses of MockRead and MockWrite were found, so these are fixed in this change, too. BUG=none R=mmenke@chromium.org,akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10796085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148782 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
CapturingNetLog - remove maximum entries constructor argument. Also replace with a NULL NetLog in a couple callsites where it wasn't being used. R=eroman@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/10546071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141315 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename X509Certificate::VerifyFlags to CertVerifier::VerifyFlags Now that verification happens in CertVerifier::Verify(), the flags should be moved from X509Certificate into CertVerifier BUG=none Review URL: https://chromiumcodereview.appspot.com/10855168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152918 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a new GetTlsUniqueChannelBinding method to SSLSocket, and implement nss version. BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10823084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149231 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Enable TLS channeld id by default. Replace --enable-origin-bound-certs command line flag with --disable-tls-channel-id. Remove field trial. BUG=136462,129174 Review URL: https://chromiumcodereview.appspot.com/10910240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156939 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Enable TLS channeld id by default. Replace --enable-origin-bound-certs command line flag with --disable-tls-channel-id. Remove field trial. BUG=136462,129174 Review URL: https://chromiumcodereview.appspot.com/10910240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156939 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Prepare for OpenSSL 1.0.1c update. A future patch to third_party/openssl/ will update the library to version 1.0.1c. This net/socket/ patch is to avoid a trivial build breakage when the update is rolled. BUG=112445 Review URL: https://chromiumcodereview.appspot.com/10918099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155342 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a new GetTlsUniqueChannelBinding method to SSLSocket, and implement nss version. BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10823084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149231 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (net/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10854063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150917 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (net/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10854063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150917 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
* Change logic of SpdySession::VerifyDomainAuthentication to permit connection pooling of hosts with the same etld when TLS channel ID is used. * Add tests for SpdySession::VerifyDomainAuthentication * Add a new certificate for testing SpdySession::VerifyDomainAuthentication BUG= Review URL: https://chromiumcodereview.appspot.com/10916275 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156461 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Refactoring for merging WebSocket test server to net::TestServer - rename HTTPSOptions to SSLOptions - pass an argument for secure server to specify the service protocol type BUG=137639 Review URL: https://chromiumcodereview.appspot.com/10878003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152902 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rename X509Certificate::VerifyFlags to CertVerifier::VerifyFlags Now that verification happens in CertVerifier::Verify(), the flags should be moved from X509Certificate into CertVerifier BUG=none Review URL: https://chromiumcodereview.appspot.com/10855168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152918 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a new GetTlsUniqueChannelBinding method to SSLSocket, and implement nss version. BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10823084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149231 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
NetLogEventParameter to Callback refactoring 9. Get rid of all uses of NetLogEventParameters in net/socket. R=eroman@chromium.org BUG=126243 Review URL: https://chromiumcodereview.appspot.com/10546162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142224 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add an explicit function to init NSS for SSL server sockets BUG=131622 TEST=tsan goes green for existing tests Review URL: https://chromiumcodereview.appspot.com/10543106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141955 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Increase the sizes of the circular buffers used by SSLClientSocketNSS and SSLServerSocketNSS. Larger buffers result in fewer Read() and Write() calls, improving performance. R=rsleevi@chromium.org,agl@chromium.org BUG=69813 TEST=none Review URL: https://chromiumcodereview.appspot.com/10919167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155889 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a new GetTlsUniqueChannelBinding method to SSLSocket, and implement nss version. BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10823084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149231 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add an explicit function to init NSS for SSL server sockets BUG=131622 TEST=tsan goes green for existing tests Review URL: https://chromiumcodereview.appspot.com/10543106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141955 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Revert 151198 - Turn off TLS 1.1. Review URL: https://chromiumcodereview.appspot.com/10828272 Bug 141629 has been fixed. We can turn on TLS 1.1 on the trunk. TBR=agl@chromium.org,rsleevi@chromium.org BUG=142172 TEST=Visit https://www.google.com/ and https://www.facebook.com/. Click the lock icon. The page info bubble should say "The connection uses TLS 1.1." Review URL: https://chromiumcodereview.appspot.com/10854212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152404 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a new GetTlsUniqueChannelBinding method to SSLSocket, and implement nss version. BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10823084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149231 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Adds URLRequestJob bytes read to NetLog. Also no longer include raw bytes for 0-length transfers. BUG=81003 TEST=none Review URL: http://codereview.chromium.org/7084007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87528 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Fix TCPClientSocket::GetLocalAddress() to work when socket is not connected. BUG=118312 Review URL: https://chromiumcodereview.appspot.com/10803027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147586 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add experimental option for TCP FastOpen. Use chrome.exe --enable-tcp-fastopen BUG=none TEST=none yet Review URL: http://codereview.chromium.org/4039003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63913 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Set TCP_KEEPALIVE idle and interval on Android. This is part of Chrome for Android upstreaming. It affects how long our side of an idle TCP socket can know the other end has closed the connection. The default value is 2 hours which is too long. We should use the same values on Linux. BUG=136750 Review URL: https://chromiumcodereview.appspot.com/10831286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151447 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (net/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10854063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150917 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix TCPClientSocket::GetLocalAddress() to work when socket is not connected. BUG=118312 Review URL: https://chromiumcodereview.appspot.com/10803027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147586 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
The WSARecv and WSASend MSDN pages say the WSABUF arrays can be allocated on the stack. Move the WSABUF members out of the Core class. R=rvargas@chromium.org BUG=151547 TEST=none Review URL: https://chromiumcodereview.appspot.com/10913212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158022 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Added TCPServerSocket. BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6820057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82020 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Allow server sockets to rebind to same port if there is nothing actively listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow server sockets to rebind to same port if there is nothing actively listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* address) R=szym@chromium.org BUG=128383 TEST=try bot Review URL: https://chromiumcodereview.appspot.com/10491007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141125 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow server sockets to rebind to same port if there is nothing actively listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow server sockets to rebind to same port if there is nothing actively listening on that port. BUG= Review URL: https://chromiumcodereview.appspot.com/10907154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157087 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
NetLogEventParameter to Callback refactoring 9. Get rid of all uses of NetLogEventParameters in net/socket. R=eroman@chromium.org BUG=126243 Review URL: https://chromiumcodereview.appspot.com/10546162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142224 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Change SpdySession::GetSSLInfo to get the SSLInfo from the underlying socket even if the session is not "secure". This required refactoring StreamSocket to add WasNpnNegotiated() and GetSSLInfo() methods. This allows for a change to SpdySession::GetSSLInfo to accurately return the correct SSLInfo in the case of SPDY Proxy sessions. BUG=134690 TEST=\*DoNotUseSpdySessionIfCertDoesNotMatch\* Review URL: https://chromiumcodereview.appspot.com/10690122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147479 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove unnecessary assignment in transport_client_socket_unittest.cc. This is part of Chrome for Android upstreaming. This line was introduced by r137387 which turned |sock| into a scoped_refptr rather than a raw pointer (that needed to be initialized). This assignment is obviously not needed anymore. Internally we don't have this extra '= NULL' which causes an unnecessary diff. BUG=136750 Review URL: https://chromiumcodereview.appspot.com/10855123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151276 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |