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
Avoid re allocations
[metaproxy-moved-to-github.git]
/
src
/
filter_http_rewrite.cpp
diff --git
a/src/filter_http_rewrite.cpp
b/src/filter_http_rewrite.cpp
index
fd23e61
..
249a757
100644
(file)
--- a/
src/filter_http_rewrite.cpp
+++ b/
src/filter_http_rewrite.cpp
@@
-141,7
+141,6
@@
void yf::HttpRewrite::rewrite_body (mp::odr & o, char **content_buf, int *conten
const spair_vec & uri_pats,
const std::vector<std::map<int, std::string> > & groups_bynum) const
{
const spair_vec & uri_pats,
const std::vector<std::map<int, std::string> > & groups_bynum) const
{
- std::cout << "About to rewrite body: " << *content_buf;
if (*content_buf)
{
std::string body(*content_buf);
if (*content_buf)
{
std::string body(*content_buf);