Skip to content

Rapidly cancelling a Call can overwhelm transport #1674

Open
@carl-mastrangelo

Description

@carl-mastrangelo

Doing something like

      ClientCall<Void, Void> call = channel.newCall(foo, CallOptions.DEFAULT);
      call.start(listen, new Metadata());
      call.sendMessage(null);
      call.halfClose();
      call.request(1);
      call.cancel();

rapidly in a loop causes memory to not get reclaimed. Somehow netty is holding on to commands sent to it from the ClientCallImpl.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions