Commit Graph

7 Commits

Author SHA1 Message Date
Steven Allen 56ea7752e8 better worker cleanup
1. Don't hang marking a peer as dead if we're shutting down.
2. No need to "drain" the outgoing channel anymore. This may have been necessary
to prevent a deadlock where the main loop blocked on sending on sending a
message while we waited to tell the main loop that the peer was dead. However,
this is no longer an issue (we never block on sending).
2017-10-14 11:19:21 -07:00
Steven Allen 3e0c53e2a7 mark the peer as dead if the inbound stream closes
fixes #38
2017-10-14 09:24:44 -07:00
Steven Allen 238bd82a7f use reset where appropriate
(especially when walking away from read-only streams)
2017-09-15 16:28:46 -07:00
Jeromy 90657d5d53 update dependencies 2016-10-05 12:47:20 -07:00
Jeromy a16546a7ee move code to libp2p repo 2016-09-12 20:10:48 -07:00
Jeromy dd331f38c6 more code cleanup, remove debug statements, add support for multiple
messages and topics
2016-09-12 13:22:16 -07:00
Jeromy ab2fef7c1b refactor publish messaging 2016-09-11 13:56:07 -07:00