Skip to content

Conversation

@VladoLavor
Copy link
Collaborator

It is not possible to do the compatibility check using Stream. The user has to fall back to (already deprecated) Channel and then call CompatibilityCheck afterwards. Opening and closing a new channel is unnecessary overhead.

The change exposes the compatibility check to the Stream API and uses the underlying channel object instead.

Signed-off-by: Vlado Lavor <vlado.lavor@gmail.com>
@VladoLavor VladoLavor self-assigned this Nov 6, 2025
@ondrej-fabry
Copy link
Member

Moving the compatibility check into stream is incorrect and ineffective.. the check only uses the local message table loaded during connection/socket initialization; the stream (and underlying channel) is not used during the compatibility check at all. It would be better to put it to the Connection.

Signed-off-by: Vlado Lavor <vlado.lavor@gmail.com>
Signed-off-by: Vlado Lavor <vlado.lavor@gmail.com>
Signed-off-by: Vlado Lavor <vlado.lavor@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants