we must send a "Connection: close" header as long as we don't support
persistent connections
This commit is contained in:
parent
db826a9c1f
commit
e8dc69b745
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue