Closed dignifiedquire closed 1 week ago
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2922/docs/iroh/
Last updated: 2024-11-13T19:59:12Z
Netsim report & logs for this PR have been generated and is available at: LOGS This report will remain available for 3 days.
Last updated for commit: f849659
I was mid review, but happy enough with things. While reviewing I updated the description trying to enumerate the changes. Whatever complains I had can be done in another PR :ok_hand:
While reviewing I updated the description trying to enumerate the changes
thank you!
I was mid review, but happy enough with things.
oh no, I am sorry, I didn't realize, I will happily make another PR with your suggestions
Description
Trying to make the server relay code a little less crazy.
stun_metrics
fromserver
toserver::metrics
which is a more appropriate place for this.ServerMessage
(the messages the server actor receives) fromserver
toserver::actor
ServerMessage::Shutdown
since there was already aCancellationToken
, thus reducing the ways to shutdown to simply one.ServerActorTask::closed
. We don't need this is we correctly handle shutdown on drop.write_timeout
not an option. This was neverNone
.ClientConnHandler
in theRelayServer
ServerState
inRelayServer
. This was just used toserve
/ spawn the server.Breaking Changes
iroh-relay
now usesNodeGone
instead ofPeerGone
in some enums, butiroh-relay
is unpublished, so technically not a breaking change