Skip to content

Commit d5c4762

Browse files
committed
Add a temporary workaround for zero-byte SSL transfers
1 parent 4fa30f1 commit d5c4762

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Lib/test/test_ssl.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,13 @@ def test_read_write_zero(self):
12921292
s.connect(address)
12931293
self.assertEqual(s.recv(0), b"")
12941294
self.assertEqual(s.send(b""), 0)
1295+
# A temporary workaround for delayed tlsv1.3 session ticket
1296+
# eachange; the proper fix will be merges after this PR because
1297+
# it hangs test_session_handling.
1298+
#
1299+
# This problem manufested before as well but was just logged
1300+
# andsilenced by a server thread.
1301+
s.unwrap().close()
12951302

12961303

12971304
class ContextTests(unittest.TestCase):

0 commit comments

Comments
 (0)