holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.04k stars 84 forks source link

[WIP] Flush bug fix for v3 #85

Closed andrewosh closed 2 years ago

andrewosh commented 2 years ago

Pretty sure the flush handling doesn't deal with pending connections correctly (connections that are not yet open), and that this fixes the issue.

Still need to make a good test for it. WIP.