Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inbound Transport is not working on newer Versions (ByteBuffer Flip&Clear) - at least 10.8.x #14

Open
ghost opened this issue Dec 14, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 14, 2020

The ByteBuffer flip & clear was not working anymore and stopped the transport from doing its job.

Casting the whole thing to buffer helped to solve the problem:

((java.nio.Buffer) bb).flip();
((java.nio.Buffer) bb).clear();

Is this "the best solution" or any other advice @eironside ? If the solution is good it would be nice to fix it also here in the repo.

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

No branches or pull requests

0 participants