Skip to content

Regression: no cancel signal to the Publisher of a streaming response  #283

@rstoyanchev

Description

@rstoyanchev

The following change be41032#diff-bce0b5fb284a12e86df4fc9b4dc0908aR370 in 0.7.3 introduced a regression for an issue originally reported in SPR-15306 and fixed with 96daef2 in 0.6.2, affecting the ability to detect cancellation on a streaming response when the client goes away.

To preserve the original fix, ideally autoRead should remain enabled until the end of output for the current response. Another idea might be to target streaming scenarios, e.g. use of sendGroups is a good indication, although that seems a bit too indirect and potentially an incomplete solution.

Or perhaps a different approach should be considered altogether. Consider the same issue exists on the clients side. If a client streams up to a server, and the server goes away, the client publisher does not get a cancellation. I will create a separate ticket for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions