WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

requestStream is limited to Integer.MAX_VALUE messages #1110

@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