Jeong, YunWon
073adbd8da
Fix SSL read over-consuming TCP data ( #7418 )
...
Use single-record reading (recv_one_tls_record) for all SSL
reads, not just handshake. This prevents rustls from eagerly
consuming close_notify alongside application data, which left
the TCP buffer empty and caused select()-based servers to miss
readability and time out.
Also fix recv_one_tls_record to return Eof (not WantRead) when
peek returns empty bytes, since empty peek means the peer has
closed the TCP connection.
2026-03-13 21:02:31 +09:00
Padraic Fanning
dc9475c26b
Mark flaky tests in test_ftplib
2026-01-10 22:10:35 -05:00
Jeong, YunWon
fd27c2d78f
Fix SSL handshake partial send ( #6635 )
...
* simplify test_ftplib
* mark flaky test
* better ssl handshake, pending tls output
* flush_all_pending
* deadline
* flush pending
2026-01-04 17:53:59 +09:00
Jeong, YunWon
8bfe927de5
skip TestTLS_FTPClass ( #6640 )
2026-01-04 11:07:58 +09:00
Terry Tianlin Luan
5ae75a679b
Update the fractions and ftplib libraries + associated tests - v.3.13.10 ( #6607 )
...
* Updated ftplib + test library
* Updated fractions + test library
2026-01-03 08:28:25 +09:00
Ashwin Naren
fd2764c7c7
Remove asynchat and asyncore ( #5688 )
...
* try to remove asynchat and asyncore
* remove associated tests
* temp patch of test_ftplib
2025-04-11 11:11:12 +09:00
Kirill Podoprigora
855fa1411f
Update ftplib and test_ftplib to 3.12 ( #5196 )
2024-03-13 07:35:16 +09:00
dvermd
0a76a9b115
Update ftplib to CPython 3.11.5
...
part_of: #4564
2023-10-01 07:12:00 +02:00
Dean Li
29c953d9a6
test: update test.support and test_io to 3.10
...
Initially this is only meant to be a small update for `test_io.py`.
But it turns out that `test.support` need a lot of cleanup especially
for `test.support.warnings_helper`.
2022-04-18 22:50:55 +08:00
Padraic Fanning
c8748bc98e
Fix test.support imports
2022-02-13 17:56:08 -05:00
Padraic Fanning
75390dd787
Fix test.support imports
2022-02-12 20:48:57 -05:00
Dean Li
5ee4fb899b
test: use os_helper
2021-11-28 20:51:32 +08:00
Jeong YunWon
913b78ca44
Revert "Merge pull request #3433 from deantvv/test-update"
...
This reverts commit 9fa5c5ac66 , reversing
changes made to e7fa32c687 .
2021-11-17 17:06:51 +09:00
Dean Li
49a5805d11
test: use os_helper
2021-11-13 02:18:33 +00:00
Padraic Fanning
a32007831a
Clean up skips in test_ftplib
2021-10-15 00:09:49 +09:00
Noah
c88d935ca0
Fix remaining code coverage issues, hopefully
2021-04-19 23:03:16 -05:00
Noah
07cad58292
Skip test_ftplib on windows
2021-01-11 17:32:30 -06:00
Noah
5ead2864ae
Skip unsupported tests
2021-01-11 17:32:29 -06:00
Noah
47e268a98c
Add test.test_ftplib from CPython 3.8.3
2021-01-11 17:32:18 -06:00