You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Anders Wallgren (JIRA)" <ji...@apache.org> on 2007/01/27 21:01:49 UTC
[jira] Created: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
ConnectingIOReactor.connect should allow per-connection params, such as timeout
-------------------------------------------------------------------------------
Key: HTTPCORE-33
URL: https://issues.apache.org/jira/browse/HTTPCORE-33
Project: HttpComponents Core
Issue Type: Improvement
Components: HttpCore NIO
Reporter: Anders Wallgren
Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Assigned: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski reassigned HTTPCORE-33:
-----------------------------------------
Assignee: Oleg Kalnichevski
Anders,
Connect timeout value can be set on a per connect request basis. See link below
http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/nio/reactor/SessionRequest.java
I'll add a method to set socket timeout to the NHttpConnection interface.
Oleg
> ConnectingIOReactor.connect should allow per-connection params, such as timeout
> -------------------------------------------------------------------------------
>
> Key: HTTPCORE-33
> URL: https://issues.apache.org/jira/browse/HTTPCORE-33
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore NIO
> Reporter: Anders Wallgren
> Assigned To: Oleg Kalnichevski
>
> Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468060 ]
Anders Wallgren commented on HTTPCORE-33:
-----------------------------------------
hmmmm....perhaps I can use HttpMessage.setParams in the connected() callback.
> ConnectingIOReactor.connect should allow per-connection params, such as timeout
> -------------------------------------------------------------------------------
>
> Key: HTTPCORE-33
> URL: https://issues.apache.org/jira/browse/HTTPCORE-33
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore NIO
> Reporter: Anders Wallgren
>
> Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468384 ]
Oleg Kalnichevski commented on HTTPCORE-33:
-------------------------------------------
> a minor point, but I would perhaps change the interface to use long instead of int, mostly becaue that's what TimeUnit.convert uses
Anders,
The trouble is that operations with long values are not atomic as far as I know. The access to it would have to be synchronized, which would result in a noticeable performance degradation
Oleg
> ConnectingIOReactor.connect should allow per-connection params, such as timeout
> -------------------------------------------------------------------------------
>
> Key: HTTPCORE-33
> URL: https://issues.apache.org/jira/browse/HTTPCORE-33
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore NIO
> Reporter: Anders Wallgren
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Resolved: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-33.
---------------------------------------
Resolution: Fixed
Fix Version/s: 4.0-alpha4
Done. Please review.
Oleg
> ConnectingIOReactor.connect should allow per-connection params, such as timeout
> -------------------------------------------------------------------------------
>
> Key: HTTPCORE-33
> URL: https://issues.apache.org/jira/browse/HTTPCORE-33
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore NIO
> Reporter: Anders Wallgren
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
[jira] Commented: (HTTPCORE-33) ConnectingIOReactor.connect should
allow per-connection params, such as timeout
Posted by "Anders Wallgren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCORE-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468157 ]
Anders Wallgren commented on HTTPCORE-33:
-----------------------------------------
Thanks -- a minor point, but I would perhaps change the interface to use long instead of int, mostly becaue that's what TimeUnit.convert uses.
> ConnectingIOReactor.connect should allow per-connection params, such as timeout
> -------------------------------------------------------------------------------
>
> Key: HTTPCORE-33
> URL: https://issues.apache.org/jira/browse/HTTPCORE-33
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore NIO
> Reporter: Anders Wallgren
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> Would it be possible to supply per-connection connection timeouts and socket timeouts?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org