"Keep-alive", stale connections and socket reuse

2008-08-28 Thread Dobri Kitipov
Hi, I am trying to explain myself how the "keep-alive", or TCP connection persistence, is supposed to work? I have read several resources about that, but I still have some questions ( http://java.sun.com/j2se/1.5.0/docs/guide/net/http-keepalive.html http://hc.apache.org/httpclient-3.x/performance

Re: "Keep-alive", stale connections and socket reuse

2008-08-29 Thread Oleg Kalnichevski
On Thu, 2008-08-28 at 14:51 +0300, Dobri Kitipov wrote: > Hi, > > I am trying to explain myself how the "keep-alive", or TCP connection > persistence, is supposed to work? I have read several resources about that, > but I still have some questions ( > http://java.sun.com/j2se/1.5.0/docs/guide/net/

Re: "Keep-alive", stale connections and socket reuse

2008-09-01 Thread Dobri Kitipov
Hi Oleg, thank you for the detailed answer of my question. It seems we need to recommend the Axis2 guys to use the better version. Do you know when there will be an official release of HttpClient 4.0-beta1? Thank you, Dobri On Fri, Aug 29, 2008 at 2:11 PM, Oleg Kalnichevski <[EMAIL PROTECTED]> wr

Re: "Keep-alive", stale connections and socket reuse

2008-09-01 Thread Dobri Kitipov
Hi Oleg, I have one additional more abstract question. What I have observed during my tests was that when I run my test scenarion with 5 WS consecutive invocations and sniff the traffic I can see that the sockets were reused. The problem is that when I first tried to debug the source it always invo

Re: "Keep-alive", stale connections and socket reuse

2008-09-02 Thread Oleg Kalnichevski
On Mon, 2008-09-01 at 17:27 +0300, Dobri Kitipov wrote: > Hi Oleg, > I have one additional more abstract question. What I have observed during my > tests was that when I run my test scenarion with 5 WS consecutive > invocations and sniff the traffic I can see that the sockets were reused. > The pro

Re: "Keep-alive", stale connections and socket reuse

2008-09-02 Thread Oleg Kalnichevski
On Mon, 2008-09-01 at 16:33 +0300, Dobri Kitipov wrote: > Hi Oleg, > thank you for the detailed answer of my question. > It seems we need to recommend the Axis2 guys to use the better version. Do > you know when there will be an official release of HttpClient 4.0-beta1? > > Thank you, > Dobri >

Re: "Keep-alive", stale connections and socket reuse

2008-09-02 Thread Dobri Kitipov
Thank you for the answers! Regards, Dobri On Tue, Sep 2, 2008 at 9:20 PM, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > On Mon, 2008-09-01 at 17:27 +0300, Dobri Kitipov wrote: > > Hi Oleg, > > I have one additional more abstract question. What I have observed during > my > > tests was that when