projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log when SIG{TERM,USR1} is received ASAP MP-513
[metaproxy-moved-to-github.git]
/
src
/
filter_bounce.hpp
diff --git
a/src/filter_bounce.hpp
b/src/filter_bounce.hpp
index
478769e
..
445e470
100644
(file)
--- a/
src/filter_bounce.hpp
+++ b/
src/filter_bounce.hpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2008 Index Data
+ Copyright (C) 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
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,13
+17,14
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Filter that bounces all requests packages
*/
// 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
#include <boost/scoped_ptr.hpp>
#ifndef FILTER_BOUNCE_HPP
#define FILTER_BOUNCE_HPP
#include <boost/scoped_ptr.hpp>
-#include "filter.hpp"
+#include <metaproxy/filter.hpp>
namespace metaproxy_1 {
namespace filter {
namespace metaproxy_1 {
namespace filter {
@@
-34,6
+35,8
@@
namespace metaproxy_1 {
Bounce();
~Bounce();
void process(metaproxy_1::Package & package) const;
Bounce();
~Bounce();
void process(metaproxy_1::Package & package) const;
+ void configure(const xmlNode * ptr, bool test_only,
+ const char *path);
};
}
}
};
}
}
@@
-46,8
+49,9
@@
extern "C" {
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* indent-tabs-mode: nil
- * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/
+