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 2019/07/01 13:48:00 UTC
[jira] [Commented] (QPIDJMS-464) zero prefetch receive can hang if
timeout reached whilst message is partially transferred
[ https://issues.apache.org/jira/browse/QPIDJMS-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16876196#comment-16876196 ]
ASF subversion and git services commented on QPIDJMS-464:
---------------------------------------------------------
Commit 98b6bf8a7585141461ac60bc96d18838ae9dfe12 in qpid-jms's branch refs/heads/master from Robert Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=98b6bf8 ]
QPIDJMS-464: Update various test dependencies:
- ActiveMQ to 5.15.9
-- Jetty to 9.4.19.v20190610
- Mockito to 2.28.2
- Hamcrest to 2.1 (note also, switches to new artifact name)
> zero prefetch receive can hang if timeout reached whilst message is partially transferred
> -----------------------------------------------------------------------------------------
>
> Key: QPIDJMS-464
> URL: https://issues.apache.org/jira/browse/QPIDJMS-464
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.43.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Priority: Major
> Fix For: 0.44.0
>
>
> When a receive with timeout call is made using zero prefetch, the client issues a credit, wait for a message to arrive, and if one doesn't in the given time it drains the credit to either get a message or ensure there is none and remove the credit. If the message is already partially transfered (i.e it is likely larger, and typically multi-framed though it need not be) at this point the client knows it doesnt need to drain, but the way it handles this triggers a later mishandling of completing the receive request when the message arrives.
> Some related comments can be found [here|https://issues.apache.org/jira/browse/QPIDJMS-458?focusedCommentId=16872498&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16872498] onwards.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org