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

requestStream is limited to Integer.MAX_VALUE messages #1110

Open
vklidu opened this issue Jul 18, 2024 · 0 comments
Open

requestStream is limited to Integer.MAX_VALUE messages #1110

vklidu opened this issue Jul 18, 2024 · 0 comments

Comments

@vklidu
Copy link

vklidu commented Jul 18, 2024

Expected Behavior

requestStream should continue serving messages infinitely.

Actual Behavior

After Integer.MAX_VALUE messages, no more requestN frames are sent by the client, and the server stops sending messages.

The main problem is in io.rsocket.core.StateUtils. The sum of all requestN is limited by Integer.MAX_VALUE. The best solution will be to remove the limitation on the sum of requestN completely.

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

1 participant