in reply to Re: http 1.0 keep-alive and mod_perl
in thread http 1.0 keep-alive and mod_perl

the overarching factor is that a CGI program automatically sends some headers (clues) to the web server
This does not make any sense at all to me - could you please elaborate?

try setting a multi-part header at the start in your perl script
Could you please explain why this would play a role?

Replies are listed 'Best First'.
Re^3: http 1.0 keep-alive and mod_perl
by Khen1950fx (Canon) on Oct 12, 2010 at 15:39 UTC
      Thanks a lot!

      This is indeed the difference - for static content apache sets the content-length whereas when using mod_perl you have to set it yourself.

      When setting a content-length header even http 1.0 clients can reuse the connection.