summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bounce.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bounce.c b/bounce.c
index 8dc2850..2b1413d 100644
--- a/bounce.c
+++ b/bounce.c
@@ -413,10 +413,7 @@ int main(int argc, char *argv[]) {
 			if (!revents) continue;
 
 			if (event.fds[i].fd == server) {
-				if (revents & POLLIN) serverRecv();
-				if (revents & (POLLHUP | POLLERR)) {
-					errx(EX_UNAVAILABLE, "server closed connection");
-				}
+				serverRecv();
 				continue;
 			}
 
atsit/commit/daemon.h?id=f556af9ad5c90db94ecf01af2b50a22f6c721791&follow=1'>Implement non-blocking line-buffered readingJune McEnroe 2020-08-15Generate tags fileJune McEnroe 2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe 2020-08-15Reap childrenJune McEnroe 2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe 2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe 2020-08-14Switch to timespec for timeoutsJune McEnroe 2020-08-14Implement serviceStartJune McEnroe 2020-08-14Flesh out Service structJune McEnroe 2020-08-14Build environment for servicesJune McEnroe 2020-08-14Implement spawntab parsingJune McEnroe 2020-08-14Open syslog, daemonize, write PIDJune McEnroe 2020-08-14Implement user and group lookupJune McEnroe 2020-08-14Add install targetJune McEnroe 2020-08-14Add spawnd skeletonJune McEnroe