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
Provide example of target auth MP-625
[metaproxy-moved-to-github.git]
/
src
/
router_flexml.cpp
diff --git
a/src/router_flexml.cpp
b/src/router_flexml.cpp
index
e1f723e
..
947366a
100644
(file)
--- a/
src/router_flexml.cpp
+++ b/
src/router_flexml.cpp
@@
-203,12
+203,12
@@
void mp::RouterFleXML::Rep::parse_xml_filters1(xmlDocPtr doc,
type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
- mp::filter::Base* filter_base = m_factory->create(type_value);
+ boost::shared_ptr<mp::filter::Base>
+ filter_base(m_factory->create(type_value));
filter_base->configure(node, test_only, file_include_path);
filter_base->configure(node, test_only, file_include_path);
- route.m_list.push_back(
- boost::shared_ptr<mp::filter::Base>(filter_base));
+ route.m_list.push_back(filter_base);
}
}
}
}
@@
-431,8
+431,6
@@
mp::RouterFleXML::RouterFleXML(std::string xmlconf, mp::FactoryFilter &factory,
bool test_only)
: m_p(new Rep)
{
bool test_only)
: m_p(new Rep)
{
- LIBXML_TEST_VERSION;
-
xmlDocPtr doc = xmlParseMemory(xmlconf.c_str(),
xmlconf.size());
if (!doc)
xmlDocPtr doc = xmlParseMemory(xmlconf.c_str(),
xmlconf.size());
if (!doc)