summaryrefslogtreecommitdiff
path: root/src/server_signals.c
diff options
context:
space:
mode:
authorJoshua Judson Rosen2015-02-17 00:37:08 -0500
committerJoshua Judson Rosen2015-02-17 00:37:08 -0500
commit714aebccbd7a4ab6ec0964d4580efd49171ba140 (patch)
treee71ac66a95848b1c0e8f47ea7d3df0e54c052d48 /src/server_signals.c
parentNix mysleep(). (diff)
downloadapf-714aebccbd7a4ab6ec0964d4580efd49171ba140.tar.gz
Remove HTTP proxy support.
There are plenty of popular, readily-available external tools that, frankly, provide better options for going through proxies-- both of the HTTP variety and others (corkscrew, httptunnel, socat...); and dropping our internal implementation results in a significant reduction in code complexity--including the complete elimination of multithreading and all of the worries that go along with it.
Diffstat (limited to 'src/server_signals.c')
-rw-r--r--src/server_signals.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/server_signals.c b/src/server_signals.c
index 84cf5ec..b21d467 100644
--- a/src/server_signals.c
+++ b/src/server_signals.c
@@ -19,11 +19,10 @@
*/
#include <config.h>
+#include <unistd.h>
#include "server_signals.h"
#include "activefor.h"
-#include "thread_management.h"
-#include "http_proxy_functions.h"
#include "stats.h"
#include "logging.h"
#include "server_configuration_struct.h"
@@ -44,12 +43,6 @@ server_sig_int(int signo)
int i, j;
unsigned char buff[5];
ServerRealm** scRealmsTable;
-
-#ifdef HAVE_LIBPTHREAD
- if (!is_this_a_mainthread()) {
- return;
- }
-#endif
for (j = 0; j < ServerConfiguration_get_realmsNumber(config); ++j) {
scRealmsTable = ServerConfiguration_get_realmsTable(config);