Fix --connect-send. Half-close connections so we can detect two read sockets talking to each other.
This commit is contained in:
@@ -78,8 +78,7 @@ static void outgoing_disconnect_handler(struct peer *peer) {
|
||||
assert(!close(outgoing->peer.fd));
|
||||
}
|
||||
fprintf(stderr, "O %s: Peer disconnected; reconnecting...\n", outgoing->id);
|
||||
|
||||
outgoing_resolve(outgoing);
|
||||
outgoing_retry(outgoing);
|
||||
}
|
||||
|
||||
static void outgoing_connect_result(struct outgoing *outgoing, int result) {
|
||||
|
||||
Reference in New Issue
Block a user