[ https://issues.apache.org/jira/browse/SSHD-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Wolf closed SSHD-1343. ----------------------------- > org.apache.sshd.server.channel.ChannelDataReceiver documentation issue > ---------------------------------------------------------------------- > > Key: SSHD-1343 > URL: https://issues.apache.org/jira/browse/SSHD-1343 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 2.15.0 > Reporter: Libor Svehlak > Assignee: Thomas Wolf > Priority: Minor > Fix For: 2.16.0 > > > JavaDoc on > https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelDataReceiver.java > states that if {{data()}} method queues received data then once data are > really consumed there has to be called > {{channel.getLocalWindow().consumeAndCheck(len)}}. There are several issues > with this statement: > * Method {{consumeAndCheck(len)}} was removed in version 2.9.2 (commit > https://github.com/apache/mina-sshd/commit/0c8f9b22c3f4f26f4061210b6b9dd6ef729c9b97) > => documentation is incorrect > * Even when we we call {{consume(len)}} method, it seems that window size is > not changed. Calling {{release(len)}} seems to fix this => is it the right > approach? -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org