we must send a "Connection: close" header as long as we don't support

persistent connections
This commit is contained in:
vibr 2005-04-14 19:17:16 +00:00
parent db826a9c1f
commit e8dc69b745
1 changed files with 2 additions and 1 deletions

View File

@ -302,7 +302,8 @@
(send-http-header-fields (send-http-header-fields
(list (cons 'server (string-append "Scheme Untergrund " sunet-version-identifier)) (list (cons 'server (string-append "Scheme Untergrund " sunet-version-identifier))
(cons 'content-type (response-mime response)) (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) port)
(send-http-header-fields (response-extras response) port) (send-http-header-fields (response-extras response) port)