[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-09-06 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1708752868 Do you have any tentative date 2.10.1 release that has the fix? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-30 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1698964313 I also couldn't reproduce this issue with sample code. this comes only in our application during PSR testing where more than 50k command are executed over ssh. -- This is an

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-30 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1698929146 > handleClose() handles reception of the peer's CLOSE message. As I understood the problem is that the client sends its EOF after it has already sent its CLOSE. We always

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-29 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1697964493 we added it in handleClose as reception of peer CLOSE calls channel close and send client CLOSE message ClientSessionImpl.doHandleMessage

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-29 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1697915239 will the below changes fix the issue ? AbstractChannel line 101 ` protected IoWriteFuture sendEofFuture; ` AbstractChannel.sendEof() line: 961 `

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-29 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1697908979 AbstractChannel line 101 protected IoWriteFuture sendEofFuture; AbstractChannel.sendEof() line: 961 this.sendEofFuture = s.writePacket(buffer);

[GitHub] [mina-sshd] mimaya commented on issue #410: SSH_MSG_CHANNEL_EOF is sent after SSH_MSG_CHANNEL_CLOSE

2023-08-28 Thread via GitHub
mimaya commented on issue #410: URL: https://github.com/apache/mina-sshd/issues/410#issuecomment-1696783772 Is there any way the caller code can know if eof is sent so that caller can wait for the send to complete and then call close? i see public boolean isEofSent() but the flag is set