Skip to content

Commit

Permalink
Fix #5937
Browse files Browse the repository at this point in the history
Remove size limit on async static content.
  • Loading branch information
gregw committed Feb 5, 2021
1 parent a26ad6d commit 799542e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ else if (written)
putHeaders(response, content, Response.USE_KNOWN_CONTENT_LENGTH);

// write the content asynchronously if supported
if (request.isAsyncSupported() && content.getContentLengthValue() > response.getBufferSize())
if (request.isAsyncSupported())
{
final AsyncContext context = request.startAsync();
context.setTimeout(0);
Expand Down

0 comments on commit 799542e

Please sign in to comment.