You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by WillD <gu...@gmail.com> on 2014/08/05 18:54:10 UTC
HttpAsyncClient and KeepAlive
Hi All,
I am using HttpAsyncClient with CXF proxy clients as described here :
http://cxf.apache.org/docs/asynchronous-client-http-transport.html.
It works but the connection is closed everytime a request is made (keepalive
is not used).
I am requesting a rest service managed by CXF in a Tomcat 7 server where
keepalive is active (HTTP 1.1 connector).
Does anyone have the same issue ?
Thanks
Here are the logs of HTTP client :
--
View this message in context: http://httpcomponents.10934.n7.nabble.com/HttpAsyncClient-and-KeepAlive-tp23984.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: HttpAsyncClient and KeepAlive
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2014-08-05 at 09:54 -0700, WillD wrote:
> Hi All,
>
> I am using HttpAsyncClient with CXF proxy clients as described here :
> http://cxf.apache.org/docs/asynchronous-client-http-transport.html.
>
> It works but the connection is closed everytime a request is made (keepalive
> is not used).
>
> I am requesting a rest service managed by CXF in a Tomcat 7 server where
> keepalive is active (HTTP 1.1 connector).
>
> Does anyone have the same issue ?
>
> Thanks
>
> Here are the logs of HTTP client :
>
>
What version of HttpAsyncClient are you using? If it is older than 4.0.1
please make sure to upgrade to 4.0.1 or newer.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org