summaryrefslogtreecommitdiff
path: root/src/file_server.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/file_server.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/file_server.c')
-rw-r--r--src/file_server.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/file_server.c b/src/file_server.c
index 35ed235..d027f02 100644
--- a/src/file_server.c
+++ b/src/file_server.c
@@ -206,19 +206,6 @@ parsefile(char* name, int* status)
ServerConfiguration_get_realmsTable(cfg)[ServerConfiguration_get_realmsNumber(cfg) - 1],
1);
}
-#ifdef HAVE_LIBPTHREAD
- else if (strcmp(helpbuf1, "enableproxy")==0) {
- if (ServerRealm_get_tunnelType(
- ServerConfiguration_get_realmsTable(cfg)[ServerConfiguration_get_realmsNumber(cfg) - 1]) == 0) {
- ServerRealm_set_tunnelType(
- ServerConfiguration_get_realmsTable(cfg)[ServerConfiguration_get_realmsNumber(cfg) - 1],
- 1);
- }
- else {
- return cfg;
- }
- }
-#endif
#ifdef AF_INET6
else if (strcmp(helpbuf1, "ipv4")==0) {
if (TYPE_IS_UNSPEC(ServerRealm_get_realmType(