Closed arnetheduck closed 1 month ago
What do you think about splitting this PR into smaller ones, perhaps one for each TCP proc? There are too many changes in the TCP transport file, GitHub doesn't even load them by default. I'd argue it's too risky to make all those modifications at once. If there's an issue, it might be difficult to understand the cause.
Attention: Patch coverage is 84.69945%
with 28 lines
in your changes are missing coverage. Please review.
Project coverage is 84.51%. Comparing base (
02c96fc
) to head (1c65f04
). Report is 4 commits behind head on master.
This is flaky on mac https://github.com/vacp2p/nim-libp2p/actions/runs/9029804098/job/24812857646?pr=1095.
It says an unhandled error was raised by testdaemon
, but all tests passed. Do you know the proper way to fix that?
It says an unhandled error was raised by testdaemon, but all tests passed. Do you know the proper way to fix that?
no, but it would be good if this was fixed.
It says an unhandled error was raised by testdaemon, but all tests passed. Do you know the proper way to fix that?
no, but it would be good if this was fixed.
It has been fixed here https://github.com/vacp2p/nim-libp2p/pull/1123
This PR is more or less a rewrite of the TCP transport to fix several race conditions and leaks that can happen during startup / shutdown as well as spurious exceptions leaking out of it
ChronosStream
already closes the underlying chronos client of aConnection
TcpTransport.stop