diff options
author | paul <paul> | 2005-01-05 08:30:35 +0000 |
---|---|---|
committer | paul <paul> | 2005-01-05 08:30:35 +0000 |
commit | 51e681afa31d57afa047dfb2abdf4fea9c98eda1 (patch) | |
tree | c1dac4c247e84642a2a72c4d28fd283c2ec705cc /zebra/zserv.c | |
parent | 1f4d240f6b0790e6804029e86a345d052b82ec80 (diff) | |
download | quagga-51e681afa31d57afa047dfb2abdf4fea9c98eda1.tar.bz2 quagga-51e681afa31d57afa047dfb2abdf4fea9c98eda1.tar.xz |
2005-01-05 Paul Jakma <paul@dishone.st>
* zserv.c: (zebra_accept) Comment out setting of socket to NONBLOCK
for now, as we dont actually deal with with resending.... See
bugzilla #122, fix from wawa@yandex-team.ru (Vladimir Ivanov).
* kernel_socket.c: (routing_socket) ditto.
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r-- | zebra/zserv.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index 47eb49a4..10616b41 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1374,10 +1374,14 @@ zebra_accept (struct thread *thread) } /* Make client socket non-blocking. */ - + /* XXX: We dont requeue failed writes, so this leads to inconsistencies. + * for now socket must remain blocking, regardless of risk of deadlocks. + */ + /* val = fcntl (client_sock, F_GETFL, 0); fcntl (client_sock, F_SETFL, (val | O_NONBLOCK)); - + */ + /* Create new zebra client. */ zebra_client_create (client_sock); |