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

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

Issue 3115011: Update tlslite README.chromium and add a patch for r53724 (Closed)
Patch Set: Move patches to patches/ subdir Created 10 years, 4 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
« no previous file with comments | « third_party/tlslite/README.chromium ('k') | third_party/tlslite/patches/python26.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff -u tlslite-0.3.8/tlslite/TLSRecordLayer.py chromium//tlslite/TLSRecordLayer .py 1 diff -u tlslite-0.3.8/tlslite/TLSRecordLayer.py chromium//tlslite/TLSRecordLayer .py
2 --- tlslite-0.3.8/tlslite/TLSRecordLayer.py 2005-02-21 21:31:41.000000000 -0 800 2 --- tlslite-0.3.8/tlslite/TLSRecordLayer.py 2005-02-21 21:31:41.000000000 -0 800
3 +++ chromium/tlslite/TLSRecordLayer.py 2008-11-25 21:58:04.000000000 -0800 3 +++ chromium/tlslite/TLSRecordLayer.py 2008-11-25 21:58:04.000000000 -0800
4 @@ -322,6 +322,12 @@ 4 @@ -322,6 +322,12 @@
5 AlertDescription.close_notify, AlertLevel.warning)): 5 AlertDescription.close_notify, AlertLevel.warning)):
6 yield result 6 yield result
7 alert = None 7 alert = None
8 + # Forcing a shutdown as the OS does not seem to be 8 + # Forcing a shutdown as the OS does not seem to be
9 + # responsive to the close notify. 9 + # responsive to the close notify.
10 + prevCloseSocket = self.closeSocket 10 + prevCloseSocket = self.closeSocket
11 + self.closeSocket = True 11 + self.closeSocket = True
12 + self._shutdown(True) 12 + self._shutdown(True)
13 + self.closeSocket = prevCloseSocket 13 + self.closeSocket = prevCloseSocket
14 while not alert: 14 while not alert:
15 for result in self._getMsg((ContentType.alert, \ 15 for result in self._getMsg((ContentType.alert, \
16 ContentType.application_data)): 16 ContentType.application_data)):
OLDNEW
« no previous file with comments | « third_party/tlslite/README.chromium ('k') | third_party/tlslite/patches/python26.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698