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/06/28 11: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=16874872#comment-16874872 ]
ASF subversion and git services commented on QPIDJMS-464:
---------------------------------------------------------
Commit ebf2b444833fc184f81de71f806f6a54fdabe519 in qpid-jms's branch refs/heads/master from Robert Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-jms.git;h=ebf2b44 ]
QPIDJMS-464: ensure the message pull attempt transitions to stop attempt at timeout if message is partially transferred
> 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: Task
> 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.
--
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