GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Dispose doesn't close connection · Issue #1126 · rsocket/rsocket-java

Dispose doesn't close connection #1126

New issue
Copy link
New issue
Copy link
Open
#1133
Open
Dispose doesn't close connection#1126
#1133
Copy link

Description

@ethanolree
ethanolree
opened on Apr 21, 2025
Issue body actions

I have a case where I'm attempting to dispose a connection via an RSocketRequester using the .dispose() method given a particular condition. In version 1.1.3 this worked no problem. However, in version 1.1.4 these changes were made which are now keeping the connection open after attempting to dispose. I can see that a ConnectionErrorException is sent by the requester, however, the sender continues to send frames after this. I believe onClose is never triggered as the tryShutdown is never attempted inside the RSocketRequester.

Expected Behavior

I would expect that when calling .dispose via the RSocketRequester, the connection would terminate.

Actual Behavior

Connection remains open.

Steps to Reproduce

rSocketRequester
            .route(<routeToStream)
            .data(<data>)
            .retrieveFlux(<datatype>)
            .filter(<conditional>)
            .doOnNext(value -> {
                policyBrokerConnector.dispose();
            })

Possible Solution

Your Environment

  • RSocket version(s) used: 1.1.4
  • Other relevant libraries versions (eg. netty, ...):
  • Platform (eg. JVM version (javar -version) or Node version (node --version)):
  • OS and version (eg uname -a):

Activity

  1. arimu1
    added a commit that references this issue on Oct 31, 2026

    fix(core): terminate requester when dispose is called

    This issue will close once commit be15b90 is merged into the 'master' branch.
    be15b90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.