Skip to content

requestStream is limited to Integer.MAX_VALUE messages #1110

Open
@vklidu

Description

@vklidu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions