Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fixes uncontrolled data sending in case of direct propagation of request from requester#595

Merged
robertroeser merged 4 commits intodeveloprsocket/rsocket-java:developfrom
bugfix/#514rsocket/rsocket-java:bugfix/#514Copy head branch name to clipboard
Mar 12, 2019
Merged

fixes uncontrolled data sending in case of direct propagation of request from requester#595
robertroeser merged 4 commits intodeveloprsocket/rsocket-java:developfrom
bugfix/#514rsocket/rsocket-java:bugfix/#514Copy head branch name to clipboard

Conversation

@OlegDokuka
Copy link
Member

This PR provide a partial fix for #514 and reintroduce usage of LimitableRequestPublisher as of its initial design.

At a moment all connected LimitableRequestPublisher receives the same request size as from the connection. It means that upstream still an overflow UnboundProcessor but with less probability (it can happen in case we have super many requestChannel/requestStream connections which infinitely send data)

In the future PRs we have to revise the implementation of UnboundedProcessor in order to have proper guarantees on overflow prevention.

Signed-off-by: Oleh Dokuka shadowgun@i.ua

…est from requester

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
rsocket-core/src/main/java/io/rsocket/RSocketServer.java Outdated Show resolved Hide resolved
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
@robertroeser robertroeser merged commit a11ef3f into develop Mar 12, 2019
OlegDokuka added a commit that referenced this pull request Mar 13, 2019
…est from requester (#595)

* fixes uncontrolled data sending in case of direct propagation of request from requester

* fixes timeout typo

* replaces forEach with explicit loop

* optimize access to limitableRequestPublisher

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
robertroeser pushed a commit that referenced this pull request Mar 13, 2019
…est from requester (#595) (#596)

* fixes uncontrolled data sending in case of direct propagation of request from requester

* fixes timeout typo

* replaces forEach with explicit loop

* optimize access to limitableRequestPublisher

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
@robertroeser robertroeser deleted the bugfix/#514 branch March 21, 2019 23:13
mostroverkhov added a commit that referenced this pull request May 16, 2019
… of request from requester (#595)"

This reverts commit a11ef3f
mostroverkhov added a commit that referenced this pull request May 16, 2019
… of request from requester (#595)"

This reverts commit a11ef3f

Signed-off-by: Maksym Ostroverkhov <m.ostroverkhov@gmail.com>
mostroverkhov added a commit that referenced this pull request May 18, 2019
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.