-
Notifications
You must be signed in to change notification settings - Fork 673
Description
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.