[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luasocket/soap: can I keep the connection open?
- From: Norbert Kiesel <nkiesel@...>
- Date: Mon, 04 Oct 2010 17:04:58 -0700
On Mon, 2010-10-04 at 19:10 -0300, Diego Nehab wrote:
> Hi Norbert,
>
> > Just to see if that would work, I tried to simply comment out all
> > "close" calls I could find (in socke.lua and http.lua) to see if the
> > server side would accepts the 2nd call over the same connection. But
> > somehow I'm missing one place, because the socket is still closed after
> > the first request and I can't figure out where/how that happens.
>
> Hmmm. Did you try taking a look at the C code?
> Have you ruled out the server closing the connection?
I looked at the C code but as I said earlier even when commenting out
all the close() calls I could find getfd() still returned -1. I could
see the server closing it's side, but that should still leave the local
fd unchanged (though of course no longer usable if the server really
closed the connection), no?
</nk>
- References:
- luasocket/soap: can I keep the connection open?, nkiesel
- Re: luasocket/soap: can I keep the connection open?, Scott Vokes
- Re: luasocket/soap: can I keep the connection open?, Norbert Kiesel
- Re: luasocket/soap: can I keep the connection open?, Petite Abeille
- Re: luasocket/soap: can I keep the connection open?, Norbert Kiesel
- Re: luasocket/soap: can I keep the connection open?, Petite Abeille
- Re: luasocket/soap: can I keep the connection open?, Norbert Kiesel
- Re: luasocket/soap: can I keep the connection open?, Petite Abeille
- Re: luasocket/soap: can I keep the connection open?, Norbert Kiesel
- Re: luasocket/soap: can I keep the connection open?, Diego Nehab
- Re: luasocket/soap: can I keep the connection open?, Norbert Kiesel
- Re: luasocket/soap: can I keep the connection open?, Diego Nehab