In handle_connect() we really need a blocking fd for the client.
authorAndre Noll <maan@systemlinux.org>
Fri, 23 Nov 2007 09:40:16 +0000 (10:40 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 23 Nov 2007 09:40:16 +0000 (10:40 +0100)
commitddb2a14f84ace45a0faec7c3cf378751ea4ac7d8
treecdb1f096168ebed969389a25429ea57ccbc7a492
parentb98061f27df8d44d1b83b842a46d94f4fe68862d
In handle_connect() we really need a blocking fd for the client.
At least on NetBSD the fd returned by accept() might be in non-blocking
mode. So introduce mark_fd_blocking() and use it in handle_connect().
command.c
fd.c
fd.h