So, if keepalives are on, do either of you have a clue as to why every so often Jetty declares a live connection to be 'idle' and closes it, with destructive effects?
On Sat, Jan 1, 2011 at 2:52 PM, Daniel Kulp <[email protected]> wrote: > On Saturday 01 January 2011 4:07:21 am Freeman Fang wrote: >> Hi Dan, >> >> Just found that our docs is different(may be out-of-date) with the >> default value in the code. >> For the client side[1], the default value for Connection is close, >> and for the server side[2], the default value for HonorKeepAlive is >> false, I'll correct the docs. >> > > Thanks for fixing the docs. I don't think those values were ever the > default. Not using keep-alives is a huge performance issue (especially for > SSL connections) so I think we've always defaulted to using KeepAlives. > > Dan > >> [1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.h >> tml [2]http://cxf.apache.org/docs/server-http-transport.html >> >> Regards >> Freeman >> >> On 2011-1-1, at 下午12:30, Daniel Kulp wrote: >> > On Monday 27 December 2010 9:08:17 pm Benson Margulies wrote: >> >> I have a problem which I suspect might be cured by use of keepalives. >> >> CXF is on both ends. I'm not in an especially spring-y configuration. >> > >> > KeepAlives are on by default. In general, you have to go out of the >> > way to >> > turn it off. > > -- > Daniel Kulp > [email protected] > http://dankulp.com/blog >
