Do flow-specific setsockopt() before accept()

This commit is contained in:
Ian Gulliver
2016-02-29 22:17:37 -08:00
parent a093b8a1b6
commit b6a582e95a
8 changed files with 43 additions and 32 deletions

View File

@@ -137,7 +137,7 @@ static void receive_read(struct peer *peer) {
static void receive_new(int fd, void __attribute__((unused)) *passthrough, struct peer *on_close) {
peer_count_in++;
socket_receive_init(fd);
socket_receive(fd);
struct receive *receive = malloc(sizeof(*receive));
assert(receive);