X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_bounce.hpp;h=758214ad81d62005810d769686f789eba1d64064;hb=9f2dd20cc26c23a736b42e0eb929782f4e76b9e2;hp=5eb8e98c682b0d0bc6b5bce766f16cd561da4b54;hpb=e6d572ef110d14fa55115021505b808620457bd3;p=metaproxy-moved-to-github.git diff --git a/src/filter_bounce.hpp b/src/filter_bounce.hpp index 5eb8e98..758214a 100644 --- a/src/filter_bounce.hpp +++ b/src/filter_bounce.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2010 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 @@ -17,7 +17,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ // Filter that bounces all requests packages -// No packages are ever passed to later filters in the chain +// No packages are ever passed to later filters in the chain +// Can optionally return a dump of the request in the http response #ifndef FILTER_BOUNCE_HPP #define FILTER_BOUNCE_HPP @@ -34,6 +35,8 @@ namespace metaproxy_1 { Bounce(); ~Bounce(); void process(metaproxy_1::Package & package) const; + void configure(const xmlNode * ptr, bool test_only, + const char *path); }; } }