[hamradio-commits] [dump1090] 34/389: Regression fixed: set client socket non-blocking.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit e1d3724271da2e22e4a5df208a6d7fea824267b4
Author: antirez <antirez at gmail.com>
Date:   Tue Jan 15 00:24:19 2013 +0100

    Regression fixed: set client socket non-blocking.
---
 dump1090.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dump1090.c b/dump1090.c
index e168a98..1bac907 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -1659,6 +1659,7 @@ void modesAcceptClients(void) {
             return; /* Max number of clients reached. */
         }
 
+        anetNonBlock(Modes.aneterr, fd);
         c = malloc(sizeof(*c));
         c->service = services[j];
         c->fd = fd;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list