Преглед изворни кода

Disable keepalive

Which causes problems when our trivial loggers are used
where delay between messages cannot be predicted (e.g. testing)
Alois Mahdal пре 13 година
родитељ
комит
8c86bee78b
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      cgi-bin/htlog/htlog.cgi

+ 2
- 1
cgi-bin/htlog/htlog.cgi Прегледај датотеку

52
 print $q->header(
52
 print $q->header(
53
     -type               => 'text/plain',
53
     -type               => 'text/plain',
54
     -expires            => 'now',
54
     -expires            => 'now',
55
-    -content_lentgth    => length $out
55
+    -content_lentgth    => length $out,
56
+    -connection         => 'close'
56
 );
57
 );
57
 
58
 
58
 print $out;
59
 print $out;