Browse Source
We revert to a simple select() loop. This makes things simpler, and fixes the problem where we want to exit but we've partially read a peer packet. We still queue up outgoing peer packets for non-blocking send: if we went full sync there, we'd risk deadlock if both sides wrote a huge number of packets and neither was reading. This also greatly simplifies the next patches, where we want to make our first get/response from gossipd. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
2 changed files with 285 additions and 273 deletions
File diff suppressed because it is too large
Loading…
Reference in new issue