summaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm')
-rw-r--r--www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm b/www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm
new file mode 100644
index 000000000000..7c411926a427
--- /dev/null
+++ b/www/p5-HTTP-Proxy/files/5.005-lib::HTTP::Proxy.pm
@@ -0,0 +1,11 @@
+--- lib/HTTP/Proxy.pm~ Wed Mar 3 01:15:02 2004
++++ lib/HTTP/Proxy.pm Tue Mar 23 17:54:31 2004
+@@ -760,7 +760,7 @@
+ # proxy the data
+ $self->log( CONNECT, "($$) CONNECT:",
+ "$read bytes received from $from" );
+- $peer->syswrite($data);
++ $peer->syswrite($data, length($data));
+ }
+ }
+ $self->log( CONNECT, "($$) CONNECT:", "End of CONNECT proxyfication");