Skip to content

Commit

Permalink
#12520 never completeOutput after sendErrorOrAbort (see problem 1 in #…
Browse files Browse the repository at this point in the history
…11210) (#12545)

Signed-off-by: Ludovic Orban <[email protected]>
  • Loading branch information
lorban authored Nov 26, 2024
1 parent 006ffb1 commit 7f61162
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,8 @@ public boolean handle()
_response.getStatus() != HttpStatus.NOT_MODIFIED_304 &&
!_response.isContentComplete(_response.getHttpOutput().getWritten()))
{
if (sendErrorOrAbort("Insufficient content written"))
break;
sendErrorOrAbort("Insufficient content written");
break;
}

// Set a close callback on the HttpOutput to make it an async callback
Expand Down

0 comments on commit 7f61162

Please sign in to comment.