projects
/
HTTP-Proxy-Archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5fd5299
)
cleanup output
author
Dobrica Pavlinušić
<dpavlin@rot13.org>
Wed, 25 Nov 2009 14:07:30 +0000
(15:07 +0100)
committer
Dobrica Pavlinušić
<dpavlin@rot13.org>
Wed, 25 Nov 2009 14:07:30 +0000
(15:07 +0100)
proxy.pl
patch
|
blob
|
history
diff --git
a/proxy.pl
b/proxy.pl
index
a5b545e
..
ec6e344
100755
(executable)
--- a/
proxy.pl
+++ b/
proxy.pl
@@
-221,7
+221,7
@@
sub debug_dump { -e 'var/debug' && warn "## ", dump( @_ ) }
my $admin_filter = HTTP::Proxy::HeaderFilter::simple->new( sub {
my ( $self, $headers, $message ) = @_;
-warn "XXX [", $headers->header('x-forwarded-for'), '] ', $message->uri, "\n";
+warn "
\n
XXX [", $headers->header('x-forwarded-for'), '] ', $message->uri, "\n";
print $message->headers_as_string if debug_on;