On Sun, 2010-10-03 at 20:09 +0200, Petite Abeille wrote:
> On Oct 3, 2010, at 8:04 PM, Norbert Kiesel wrote:
>
> >> At first glance, luasocket's http module doesn't support persistent connection.
> >>
> >> http.lua:215 adjustheaders(reqt): ["connection"] = "close, TE",
> >> http.lua:327 trequest(reqt): h:close()
> >
> > Yeah, but even after commenting out the h:close() the socket is still
> > closed somehow.
>
> By default, the request is asking for the connection to be closed by the server (http.lua:215), so perhaps this is not unexpected, no?