X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffactory_static.cpp;h=b3f63701f6addca63e24674fee8033f9e14f0381;hb=e38f1b959c56b11e2e0c48bcde12cb2a05f8ea84;hp=fb82b74de9aa8b4c87ef4504b8925fb598680cea;hpb=b3974a565a726b9afaad86bcb66b56ae3ceb351a;p=metaproxy-moved-to-github.git diff --git a/src/factory_static.cpp b/src/factory_static.cpp index fb82b74..b3f6370 100644 --- a/src/factory_static.cpp +++ b/src/factory_static.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2012 Index Data + Copyright (C) 2005-2013 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -35,7 +35,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #include "filter_cql_to_rpn.hpp" #include "filter_frontend_net.hpp" +#include "filter_http_client.hpp" #include "filter_http_file.hpp" +#include "filter_http_rewrite1.hpp" #include "filter_limit.hpp" #include "filter_load_balance.hpp" #include "filter_log.hpp" @@ -55,6 +57,7 @@ namespace mp = metaproxy_1; mp::FactoryStatic::FactoryStatic() { +#ifdef WIN32 struct metaproxy_1_filter_struct *buildins[] = { &metaproxy_1_filter_auth_simple, &metaproxy_1_filter_backend_test, @@ -63,8 +66,10 @@ mp::FactoryStatic::FactoryStatic() &metaproxy_1_filter_cgi, #endif &metaproxy_1_filter_cql_to_rpn, - &metaproxy_1_filter_frontend_net, + &metaproxy_1_filter_frontend_net, + &metaproxy_1_filter_http_client, &metaproxy_1_filter_http_file, + &metaproxy_1_filter_http_rewrite1, &metaproxy_1_filter_limit, &metaproxy_1_filter_load_balance, &metaproxy_1_filter_log, @@ -85,6 +90,8 @@ mp::FactoryStatic::FactoryStatic() for (i = 0; buildins[i]; i++) add_creator(buildins[i]->type, buildins[i]->creator); +// WIN32 +#endif }