Don't send keep alive signals before kex is done#934
Don't send keep alive signals before kex is done#934hierynomus merged 2 commits intohierynomus:masterfrom hpoettker:no-keep-alive-before-kex-is-done
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #934 +/- ##
============================================
+ Coverage 68.96% 69.16% +0.19%
- Complexity 1448 1454 +6
============================================
Files 208 208
Lines 7602 7604 +2
Branches 658 660 +2
============================================
+ Hits 5243 5259 +16
+ Misses 2009 1995 -14
Partials 350 350 ☔ View full report in Codecov by Sentry. |
|
I think there is a difference between waiting for |
Otherwise, they could interfere with strict key exchange.
|
I've added a reproducing test case to I've also relaxed the assertions in The originally proposed changed should also work. But I've now made a simpler change, i.e. only starting the keep alive thread after the key exchange is done. |
|
Thanks for the PR! |
The PR should address #933.