Skip to content

Conversation

ikavgo
Copy link
Contributor

@ikavgo ikavgo commented Jul 13, 2023

Proposed Changes

The connection lifecycle managed by reader's gen_server. There were places where stop returned, yet connection closed manually, not letting terminate do the job.

Also added more logs and a test that without implicit connect wrong first frame closes connection.

Likely will also close #2562.

Types of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bug fix (non-breaking change which fixes issue #NNNN)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause an observable behavior change in existing systems)
  • Documentation improvements (corrections, new content, etc)
  • Cosmetic change (whitespace, formatting, etc)
  • Build system and/or CI

Checklist

Put an x in the boxes that apply.
You can also fill these out after creating the PR.
If you're unsure about any of them, don't hesitate to ask on the mailing list.
We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING.md document
  • I have signed the CA (see https://cla.pivotal.io/sign/rabbitmq)
  • I have added tests that prove my fix is effective or that my feature works
  • All tests pass locally with my changes
  • If relevant, I have added necessary documentation to https://github.com/rabbitmq/rabbitmq-website
  • If relevant, I have added this change to the first version(s) in release-notes that I expect to introduce it

Further Comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.

The connection lifecycle managed by reader's gen_server. There were places where  returned,
yet connection closed manually, not letting  do the job.

Also added more logs and a test that without implicit connect wrong first frame closes connection
@ikavgo ikavgo marked this pull request as draft July 13, 2023 16:53
@deadtrickster deadtrickster changed the title STOMP: As per spec, close connections after ERROR frame. WIP: STOMP: As per spec, close connections after ERROR frame. Aug 8, 2023
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.

STOMP: close client connections after sending a consumer cancellation notification

2 participants