[hamradio-commits] [dump1090] 296/389: B"H view1090: do not block
Matthew Ernisse
mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:20:07 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 350a57f858567a2ef85d40f63a7a2cc196eb1446
Author: hhm <heehooman+vcs-ci at gmail.com>
Date: Wed Jul 2 07:41:43 2014 -0400
B"H view1090: do not block
- do not block on network data
---
view1090.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/view1090.c b/view1090.c
index 59498be..2dbd323 100644
--- a/view1090.c
+++ b/view1090.c
@@ -122,6 +122,7 @@ int setupConnection(struct client *c) {
// Try to connect to the selected ip address and port. We only support *ONE* input connection which we initiate.here.
if ((fd = anetTcpConnect(Modes.aneterr, View1090.net_input_beast_ipaddr, Modes.net_input_beast_port)) != ANET_ERR) {
+ anetNonBlock(Modes.aneterr, fd);
//
// Setup a service callback client structure for a beast binary input (from dump1090)
// This is a bit dodgy under Windows. The fd parameter is a handle to the internet
--
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