if anybody wants to confirm that this won't break anything (e.g. CGI.pm),
this patch will clear the buffer before appending to it.

--- Apache/Apache.pm    2000/08/15 04:35:13     1.52
+++ Apache/Apache.pm    2000/08/16 04:36:30
@@ -65,7 +65,7 @@
     my($nrd, $buf, $total);
     $nrd = $total = 0;
     $buf = "";
-    $_[1] ||= "";
+    $_[1] = "";
     #$_[1] = " " x $bufsiz unless defined $_[1]; #XXX?
 
     $r->hard_timeout("Apache->read");


Reply via email to