Forum: Ruby on Rails Connection: close HTTP 1.1

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
820d0e4ee14e986a44d33782ca852f51?d=identicon&s=25 Bob (Guest)
on 2007-06-08 16:13
I am making a request to my mongrel server and I always receive:

Connection: close

in the http response, but I want a persistent connection, any ideas why
it is always closing?

My request header follows:

GET/users/index HTTP/1.1
Host: 192.168.1.103


I'm getting correct response header back apart from the Connection:
close i.e.

HTTP/1.1 200 OK
Connection: close
Date: Fri, 08 Jun 2007 14:09:48 GMT
Set-Cookie: _Package_session_id=a4c5d42e83ece57205451fad10335b16; path=/
Status: 200 OK
Cache-Control: no-cache
Server: Mongrel 1.0.1
Content-Type: text/html; charset=utf-8
Content-Length: 4

Any ideas how I can keep my connection open?
This topic is locked and can not be replied to.