diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-22 19:16:12 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-22 19:16:12 +0000 |
commit | 59b35a47ec895c0f482a7ecd52599d48b77087c6 (patch) | |
tree | 3df9aee41f963ee111eb16d089c679fe6d94e277 /net | |
parent | aef150e1ca4a44f9dedb8e98ad7bc56ad82d1000 (diff) | |
download | chromium_src-59b35a47ec895c0f482a7ecd52599d48b77087c6.zip chromium_src-59b35a47ec895c0f482a7ecd52599d48b77087c6.tar.gz chromium_src-59b35a47ec895c0f482a7ecd52599d48b77087c6.tar.bz2 |
Linux: don't send cookies with an OCSP request.
http://codereview.chromium.org/507066
BUG=30895
TEST=Watch an OCSP request in Wireshark (i.e. https://paypal.com). Check that cookies aren't sent.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35161 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/ocsp/nss_ocsp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc index 0c0cabb..53bdf43 100644 --- a/net/ocsp/nss_ocsp.cc +++ b/net/ocsp/nss_ocsp.cc @@ -335,7 +335,8 @@ class OCSPRequestSession request_->set_context(url_request_context); // To meet the privacy requirements of off-the-record mode. request_->set_load_flags( - net::LOAD_DISABLE_CACHE|net::LOAD_DO_NOT_SAVE_COOKIES); + net::LOAD_DISABLE_CACHE | net::LOAD_DO_NOT_SAVE_COOKIES | + net::LOAD_DO_NOT_SEND_COOKIES); if (http_request_method_ == "POST") { DCHECK(!upload_content_.empty()); |