You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/29 21:49:59 UTC
[jira] [Commented] (QPIDJMS-228) Connection close can use wrong
timeout value and stall
[ https://issues.apache.org/jira/browse/QPIDJMS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15706641#comment-15706641 ]
ASF subversion and git services commented on QPIDJMS-228:
---------------------------------------------------------
Commit 661244d9710c872402ed6db6bd6fb38ed94a7cf2 in qpid-jms's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=661244d ]
QPIDJMS-228 Use closeTimeout consistently on close of all resources
Ensure that closeTimeout is applied to the close of any resource
Connection, Session, Producer, and Consumer
> Connection close can use wrong timeout value and stall
> ------------------------------------------------------
>
> Key: QPIDJMS-228
> URL: https://issues.apache.org/jira/browse/QPIDJMS-228
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.11.1
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 0.20.0
>
>
> When closing the JMS Connection the closeTimeout value should be used to control how long to wait before failing the close request and continue the shutdown procedure. There is a code path that will instead use the requestTimeout value which defaults to infinite wait and can lead to a close() call that is hung waiting on server response which might in some cases never come.
> Close on other resources such as Session, Producer and Consumer are also using requestTimeout and should really be using the closeTimeout to be consistent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org