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

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

Issue 332523008: Revert of Add tests for session cache and false start behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « third_party/tlslite/README.chromium ('k') | third_party/tlslite/tlslite/tlsrecordlayer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/tlslite/tlslite/tlsrecordlayer.py b/third_party/tlslite /tlslite/tlsrecordlayer.py
2 index 8b92221..370dc9a 100644
3 --- a/third_party/tlslite/tlslite/tlsrecordlayer.py
4 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py
5 @@ -286,7 +286,9 @@ class TLSRecordLayer(object):
6 except GeneratorExit:
7 raise
8 except Exception:
9 - self._shutdown(False)
10 + # Don't invalidate the session on write failure if abrupt closes ar e
11 + # okay.
12 + self._shutdown(self.ignoreAbruptClose)
13 raise
14
15 def close(self):
OLDNEW
« no previous file with comments | « third_party/tlslite/README.chromium ('k') | third_party/tlslite/tlslite/tlsrecordlayer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698