v0.24.0 #2691
ramfox
announced in
Announcements
v0.24.0
#2691
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
iroh-net
iroh::net::endpoint::Endpoint::accept
now returnsIncoming
instead ofConnecting
. This allows rejecting incoming connections earlier, notify the initiating side to retry later and more. To get backConnecting
, simply useIncoming::accept()
. If all you did withConnecting
before was to.await
it, you can do the same withIncoming
, too, and get back aConnection
.iroh::net::endpoint::Builder::concurrent_connections
. The amount of concurrent connections is now controlled by either callingIncoming::accept
orIncoming::refuse
afterEndpoint::accept
.This discussion was created from the release v0.24.0.
Beta Was this translation helpful? Give feedback.
All reactions