From e8dc69b7458ba35aaf939fea3573ee4709b47b4a Mon Sep 17 00:00:00 2001 From: vibr Date: Thu, 14 Apr 2005 19:17:16 +0000 Subject: [PATCH] we must send a "Connection: close" header as long as we don't support persistent connections --- scheme/httpd/core.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scheme/httpd/core.scm b/scheme/httpd/core.scm index 78c8cf8..cc193a7 100644 --- a/scheme/httpd/core.scm +++ b/scheme/httpd/core.scm @@ -302,7 +302,8 @@ (send-http-header-fields (list (cons 'server (string-append "Scheme Untergrund " sunet-version-identifier)) (cons 'content-type (response-mime response)) - (cons 'date (rfc822-time->string (response-seconds response)))) + (cons 'date (rfc822-time->string (response-seconds response))) + (cons 'connection "close")) port) (send-http-header-fields (response-extras response) port)