[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luasocket/soap: can I keep the connection open?
- From: Petite Abeille <petite_abeille@...>
- Date: Sun, 03 Oct 2010 20:09:32 +0200
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?