WebSockets: Accept logins with versions greater than supported versions
Details
| Detail name | Value |
|---|---|
| Changelog Number | 9358 |
| Type | Improvement |
| Status | Resolved |
| Fix Versions | Exasol 6.1.9, Exasol 6.2.5 |
| Resolution Date | 2020-01-16 |
For compatibility reasons, WebSocket logins with a version higher than supported versions will now be accepted, but will be downgraded to the latest supported version.
Scenario:
Exasol supports only WebSocket protocol v1, and a client tries to login using WebSocket protocol v2 (or anything >v1).
Previous behavior:
The client receives an exception: "Could not create WebSocket protocol version 2".
New behavior:
The client is successfully logged in using WebSocket protocol version 1, which can be verified using the "protocolVersion" field in the JSON repsonse of the "login" command.