Tomer Gabel created GUACAMOLE-1048:
--------------------------------------
Summary: Expect and interpret error commands on handshake
Key: GUACAMOLE-1048
URL: https://issues.apache.org/jira/browse/GUACAMOLE-1048
Project: Guacamole
Issue Type: Improvement
Components: guacamole-common
Affects Versions: 1.1.0
Reporter: Tomer Gabel
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)