diff options
Diffstat (limited to 'chromium/third_party/tlslite/patches/close_notify.patch')
-rw-r--r-- | chromium/third_party/tlslite/patches/close_notify.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chromium/third_party/tlslite/patches/close_notify.patch b/chromium/third_party/tlslite/patches/close_notify.patch deleted file mode 100644 index 94afa2061ad..00000000000 --- a/chromium/third_party/tlslite/patches/close_notify.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -u tlslite-0.3.8/tlslite/TLSRecordLayer.py chromium//tlslite/TLSRecordLayer.py ---- tlslite-0.3.8/tlslite/TLSRecordLayer.py 2005-02-21 21:31:41.000000000 -0800 -+++ chromium/tlslite/TLSRecordLayer.py 2008-11-25 21:58:04.000000000 -0800 -@@ -322,6 +322,12 @@ - AlertDescription.close_notify, AlertLevel.warning)): - yield result - alert = None -+ # Forcing a shutdown as the OS does not seem to be -+ # responsive to the close notify. -+ prevCloseSocket = self.closeSocket -+ self.closeSocket = True -+ self._shutdown(True) -+ self.closeSocket = prevCloseSocket - while not alert: - for result in self._getMsg((ContentType.alert, \ - ContentType.application_data)): |