On Thu, 2015-03-26 at 06:25 -0400, Marc Boorshtein wrote: > Thanks Oleg, how do I enable SO_KEEPALIVE with HttpClient? >
Please use SocketConfig Oleg > Thanks > Marc > > On Thu, Mar 26, 2015 at 6:14 AM, Oleg Kalnichevski <[email protected]> wrote: > > > On Wed, 2015-03-25 at 15:17 -0400, Marc Boorshtein wrote: > > > I'm trying to configure TCP KeepAlice using apache httpclient 4.3.4 and > > am > > > trying to figure out the correct parameters to the connection. When > > > running my builder, if I set staleConnectionCheckEnabled to true and the > > > socketTimeout will it enable TCP keepalive and set it to a specific time? > > > > > > > No, it will not. Stale connection check and SO_KEEPALIVE are unrelated. > > > > Oleg > > > > > Thanks > > > Marc > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
