WebSockets: CLOSE message automatically calls the disconnect command internally
Details
| Detail name | Value |
|---|---|
| Changelog Number | 9468 |
| Type | Improvement |
| Status | Resolved |
| Fix Versions | Exasol 7.0.0, Exasol 6.2.8, Exasol 7.0.rc1 |
| Resolution Date | 2020-06-22 |
Background:
If a WebSocket client does not send the 'disconnect' command before disconnecting from Exasol (using the WebSocket CLOSE message instead), it may lead to warnings about connection errors in the logs, and the session information may not be properly cleaned up in Exasol.
Improvement:
When a WebSocket CLOSE message is received, internally the 'disconnect' command is called.