mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Proper use of setComplete in ContextPathCompositeHandler
Issue: SPR-17144
This commit is contained in:
+1
-2
@@ -75,8 +75,7 @@ public class ContextPathCompositeHandler implements HttpHandler {
|
||||
})
|
||||
.orElseGet(() -> {
|
||||
response.setStatusCode(HttpStatus.NOT_FOUND);
|
||||
response.setComplete();
|
||||
return Mono.empty();
|
||||
return response.setComplete();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user