FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python-cefpython/patches/issue125.patch at cefpython51 · caooliver/Python-cefpython · GitHub
caooliver
Python-cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Python-cefpython
/
patches
/
issue125.patch
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (14 loc) · 772 Bytes
Breadcrumbs
Python-cefpython
/
patches
/
issue125.patch
Copy path
File metadata and controls
14 lines (14 loc) · 772 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git http_cache_transaction.cc http_cache_transaction.cc
index 178df98..85dc6d1 100644
--- http_cache_transaction.cc
+++ http_cache_transaction.cc
@@ -2489,7 +2489,8 @@
int HttpCache::Transaction::WriteResponseInfoToEntry(bool truncated) {
// blocking page is shown. An alternative would be to reverse-map the cert
// status to a net error and replay the net error.
if ((response_.headers->HasHeaderValue("cache-control", "no-store")) ||
-
IsCertStatusError(response_.ssl_info.cert_status)) {
+
(!cache_->GetSession()->params().ignore_certificate_errors &&
+
IsCertStatusError(response_.ssl_info.cert_status))) {
DoneWritingToEntry(false);
if (net_log_.IsCapturing())
net_log_.EndEvent(NetLog::TYPE_HTTP_CACHE_WRITE_INFO);
Back
|
FazBrowse Home
|
New Git URL