Procházet zdrojové kódy

Disable keepalive

Which causes problems when our trivial loggers are used
where delay between messages cannot be predicted (e.g. testing)
Alois Mahdal před 13 roky
rodič
revize
8c86bee78b
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      cgi-bin/htlog/htlog.cgi

+ 2
- 1
cgi-bin/htlog/htlog.cgi Zobrazit soubor

@@ -52,7 +52,8 @@ my $out = "Message logged: $msg\n";
52 52
 print $q->header(
53 53
     -type               => 'text/plain',
54 54
     -expires            => 'now',
55
-    -content_lentgth    => length $out
55
+    -content_lentgth    => length $out,
56
+    -connection         => 'close'
56 57
 );
57 58
 
58 59
 print $out;