Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/tlslite/patches/ignore_write_failure.patch

Issue 858373002: Update third_party/tlslite to 0.4.8. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finish fixing client auth Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 diff --git a/third_party/tlslite/tlslite/tlsrecordlayer.py b/third_party/tlslite /tlslite/tlsrecordlayer.py 1 diff --git a/third_party/tlslite/tlslite/tlsrecordlayer.py b/third_party/tlslite /tlslite/tlsrecordlayer.py
2 index 8b92221..370dc9a 100644 2 index 6ef3895..3584726 100644
3 --- a/third_party/tlslite/tlslite/tlsrecordlayer.py 3 --- a/third_party/tlslite/tlslite/tlsrecordlayer.py
4 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py 4 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py
5 @@ -286,7 +286,9 @@ class TLSRecordLayer(object): 5 @@ -288,7 +288,9 @@ class TLSRecordLayer(object):
6 except GeneratorExit: 6 except GeneratorExit:
7 raise 7 raise
8 except Exception: 8 except Exception:
9 - self._shutdown(False) 9 - self._shutdown(False)
10 + # Don't invalidate the session on write failure if abrupt closes ar e 10 + # Don't invalidate the session on write failure if abrupt closes ar e
11 + # okay. 11 + # okay.
12 + self._shutdown(self.ignoreAbruptClose) 12 + self._shutdown(self.ignoreAbruptClose)
13 raise 13 raise
14 14
15 def close(self): 15 def close(self):
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/fallback_scsv.patch ('k') | third_party/tlslite/patches/intolerance_options.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698