qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5389) ConnectionHandler may stop writting pending frames if close is called right after the connection is started
Date Mon, 09 Dec 2013 20:36:07 GMT

    [ https://issues.apache.org/jira/browse/QPID-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843527#comment-13843527
] 

ASF subversion and git services commented on QPID-5389:
-------------------------------------------------------

Commit 1549669 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1549669 ]

QPID-5389 : [JMS AMQP 1.0] ConnectionHandler may stop writting pending frames if close is
called right after the connection is started (patch from Xin Chen)

> ConnectionHandler may stop writting pending frames if close is called right after the
connection is started
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-5389
>                 URL: https://issues.apache.org/jira/browse/QPID-5389
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Xin Chen
>            Assignee: Rob Godfrey
>             Fix For: 0.27
>
>         Attachments: QPID-5389.patch
>
>
> ConnectionEndpoint._closedForOutput is set to true when close is called. Right now HeaderBytesSource.closed()
returns false but _buffer has been completely consumed, which results in a deadloop in writing
this 0-length buffer. Regardless of this value, the connection handler should write out all
pending frames in the queue. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message