You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ruslan (JIRA)" <ji...@apache.org> on 2015/09/07 17:55:46 UTC
[jira] [Commented] (HTTPASYNC-83) request no sent when
setConnectionManagerShared is set to true
[ 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org