Fix --connect-send. Half-close connections so we can detect two read sockets talking to each other.

This commit is contained in:
Ian Gulliver
2016-02-24 20:25:31 -08:00
parent 1635534243
commit 3e2c426e95
4 changed files with 19 additions and 10 deletions

View File

@@ -76,7 +76,7 @@ bool opts_add_connect_send(char *arg) {
return false;
}
incoming_new(host, arg, send_new_wrapper, serializer);
outgoing_new(host, arg, send_new_wrapper, serializer);
free(host);
return true;
}