-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Typically server side response writing shouldn't see cancellation since ServletHttpHandlerAdapter
doesn't do that. However it may occur for other reasons such as a WebFilter
with a timeout operator on the outbound side. Even so in that case the timeout operator would also send an error signal downstream, which reaches ServletHttpHandlerAdapter
and completes the AsyncContetx
and that in turn cancels writing. Nevertheless it is a good idea to support cancellation and to cancel writing immediately.
This was uncovered while investigating #26434.
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement