[ 
https://issues.apache.org/jira/browse/HTTPASYNC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPASYNC-83.
----------------------------------------
    Resolution: Not a Problem

Sylvere,
If an HttpAsyncClient instance has been configured to use a shared connection 
manager, it will make _no_ attempts to either start it up or to shut it down. 
Connection manager life cycle becomes responsibility of the caller. Just make 
sure to call PoolingNHttpClientConnectionManager#execute from a worker thread 
or assign one HttpAsyncClient instance to 'own' the connection manager.

Oleg

> request no sent when setConnectionManagerShared is set to true
> --------------------------------------------------------------
>
>                 Key: HTTPASYNC-83
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-83
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.1-beta1
>            Reporter: Sylvere Richard
>
> I'm trying to use the setting setConnectionManagerShared(true) :
>               final CloseableHttpAsyncClient httpclient = 
> HttpAsyncClients.custom()
>                               .setDefaultCookieStore(cookieStore)
>                               .setConnectionManager(connManag)
>                               .setConnectionManagerShared(true)
>                               .build();
> But when setConnectionShared is true, the request is never sent.
> When set to false, everything works perfectly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to