1 diff --git a/third_party/tlslite/tlslite/tlsrecordlayer.py b/third_party/tlslite/tlslite/tlsrecordlayer.py
2 index 6ef3895..3584726 100644
3 --- a/third_party/tlslite/tlslite/tlsrecordlayer.py
4 +++ b/third_party/tlslite/tlslite/tlsrecordlayer.py
5 @@ -288,7 +288,9 @@ class TLSRecordLayer(object):
9 - self._shutdown(False)
10 + # Don't invalidate the session on write failure if abrupt closes are
12 + self._shutdown(self.ignoreAbruptClose)