lgoldstein opened a new pull request #114: SSHD-968 interpret SSH_MSG_UNIMPLEMENTED response to a global request as its failure URL: https://github.com/apache/mina-sshd/pull/114 The main flow is as follows: * when `AbstractSession#preProcessEncodeBuffer` override is called as part of sending the global request, it checks if the buffer about to be encoded and written is a `SSH_MSG_GLOBAL_REQUEST` command. If so, it stores the outgoing message sequence number in case `SSH_MSG_UNIMPLEMENTED` is reported for it. * `AbstractSession#request` resets the tracked global request outgoing sequence number if either a response was received or timeout expired. * `AbstractSession#doInvokeUnimplementedMessageHandler` override checks if the reported message number matches the currently tracked global request message and converts it to a message failure signal instead (thus releasing the `AbstractSession#request` loop waiting for it).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
