On Mon, 2 Oct 2000, B. Burke wrote:
> Why would the lack of a $r->send_http_header call cause socket persistence
> to go away? I was under the impression that $r->send_http_header only affected
> what was sent to the client, but appearantly it affects Apache's socket handling
> as well.
because send_http_header calls set_keepalive underneath, set_keepalive
sets the flags so apache will keep the connection open. try the patch
below and add $r->set_keepalive to your code.
> 2) how can I make apache stop printing the outbound message size on each response
what headers exactly is your client sending? you must be somehow
triggering chunked encoding.
Index: src/modules/perl/Apache.xs
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/Apache.xs,v
retrieving revision 1.114
diff -u -r1.114 Apache.xs
--- src/modules/perl/Apache.xs 2000/09/28 19:28:33 1.114
+++ src/modules/perl/Apache.xs 2000/10/02 21:23:28
@@ -937,6 +937,10 @@
send_http_header(r);
mod_perl_sent_header(r, 1);
+void
+set_keepalive(r)
+ Apache r
+
#ifndef PERL_OBJECT
int