summaryrefslogtreecommitdiff
path: root/src/afclient.c
diff options
context:
space:
mode:
authorJakub Sławiński2006-04-06 23:34:51 +0200
committerJoshua Judson Rosen2014-07-17 21:15:02 +0200
commit1361f0e88138653d2437f45ddf940206ed0e93b7 (patch)
tree3507c0e145a2674d99e9da65cd8dc7ebcc91bdc1 /src/afclient.c
parentv0.8 (diff)
downloadapf-1361f0e88138653d2437f45ddf940206ed0e93b7.tar.gz
v0.8.1
- Fixed: enableproxy option in server's config file - Added: clients idle time - Added: 'maxidle' option - Modified: task scheduling subsystem has been completely rewritten - Fixed: segmentation fault in http tunnels after multiple simultaneous POST connections from the same source - Fixed: unexpected connection close when http proxy was too slow - Fixed: SIGSEGV in http proxy mode under cygwin - Added: enabled the SO_KEEPALIVE option for all the sockets used by the apf - Added: 60 seconds timeout for SSL_connect
Diffstat (limited to 'src/afclient.c')
-rw-r--r--src/afclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afclient.c b/src/afclient.c
index ec02e36..7d0ab20 100644
--- a/src/afclient.c
+++ b/src/afclient.c
@@ -155,6 +155,8 @@ main(int argc, char **argv)
act.sa_handler = client_sig_int;
sigaction(SIGINT, &act, NULL);
sigaction(SIGTERM, &act, NULL);
+ act.sa_handler = client_sig_alrm;
+ sigaction(SIGALRM, &act, NULL);
#ifdef HAVE_LIBPTHREAD
remember_mainthread();