[ 
https://issues.apache.org/jira/browse/HTTPASYNC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733864#comment-14733864
 ] 

Ruslan commented on HTTPASYNC-83:
---------------------------------

Oleg, could you please demonstrate what needs to be changed in provided example 
in order to make it work ? I've spent 2 hours and cannot find the solution :((((

When do I need to call PoolingNHttpClientConnectionManager.execute?
Where do I get IOEventDispatch to pass as parameter to execute()?
How do I "assign one HttpAsyncClient instance to 'own' the connection manager" ?

Thank you!!!

> 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
>         Attachments: TestShared.java
>
>
> 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