mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-1057) AbstractIoSession getScheduledWriteMessages always -negative?
Date Sat, 14 Oct 2017 11:48:00 GMT

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

Emmanuel Lecharny commented on DIRMINA-1057:
--------------------------------------------

Ok, I have reapplied the patch ( with a minor correction) and ran the test : all is green.

The correction is :

{code:java}
                try {
                    localWrittenBytes = write(session, buf, length);
                }
{code}

instead
of 

{code:java}
                try {
                    localWrittenBytes = this.write(session, buf, length);
                }
{code}

> AbstractIoSession getScheduledWriteMessages always -negative?
> -------------------------------------------------------------
>
>                 Key: DIRMINA-1057
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1057
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.16
>         Environment: I'm testing slow consumer backlog detection and while getScheduledWriteBytes()
correctly grows, getScheduledWriteMessages is always negative and does not increase. looking
into code to see why but putting bug report here as well for tracking
>            Reporter: Andre Mermegas
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message