[
https://issues.apache.org/jira/browse/GUACAMOLE-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090671#comment-17090671
]
Tomer Gabel commented on GUACAMOLE-1048:
----------------------------------------
And the PR, as promised: [https://github.com/apache/guacamole-client/pull/500]
> Support server control commands during handshake
> ------------------------------------------------
>
> Key: GUACAMOLE-1048
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1048
> Project: Guacamole
> Issue Type: Improvement
> Components: guacamole-common
> Reporter: Tomer Gabel
> Priority: Minor
>
> The current implementation of client handshake in
> {{ConfiguredGuacamoleSocket}} doesn't handle the case where a server sends an
> error command mid-handshake, which is allowed by the protocol. This hampers
> error handling/reporting in some cases; for instance, when an invalid
> connection ID is specified by the {{select}} command, a resulting {{error}}
> would be misinterpreted by the client as an unexpected opcode.
> Please expect a pull request aimed at improving this situation soon;
> incidentally, the scenario described above is hypothetical, guacd currently
> drops the connection instead of sending an error command. This is handled
> separately in GUACAMOLE-1047.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)