summaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-11-20 10:22:02 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-12-02 22:11:57 +0100
commit2c95b31210ebcc12556d1a30b6df2938fbec879c (patch)
tree5f1021ff2c238942d4a920394eb9693b2716a839 /nDPIsrvd.c
parent532961af33c89436aac8585704701eafa2411980 (diff)
nDPId-test: Reworked I/O handling to prevent some endless loop scenarios. Fixed a race condition in the memory wrapper as well.
* nDPId: Instead of sending too long JSON strings, log an error and some parts. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPIsrvd.c')
-rw-r--r--nDPIsrvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index e57e2625a..6ac6894c9 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -1452,8 +1452,8 @@ static int mainloop(int epollfd)
}
}
- close(signalfd);
free_remotes(epollfd);
+ close(signalfd);
return 0;
}