Dismiss autofill popup on screen orientation change.
[chromium-blink-merge.git] / third_party / tlslite / patches / close_notify.patch
blob94afa2061ad616bd04e089b57d35d4889177606e
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 -0800
3 +++ chromium/tlslite/TLSRecordLayer.py 2008-11-25 21:58:04.000000000 -0800
4 @@ -322,6 +322,12 @@
5 AlertDescription.close_notify, AlertLevel.warning)):
6 yield result
7 alert = None
8 + # Forcing a shutdown as the OS does not seem to be
9 + # responsive to the close notify.
10 + prevCloseSocket = self.closeSocket
11 + self.closeSocket = True
12 + self._shutdown(True)
13 + self.closeSocket = prevCloseSocket
14 while not alert:
15 for result in self._getMsg((ContentType.alert, \
16 ContentType.application_data)):