Issue #2706 - Resource Service Incorrectly Returning 404

Removed response.flushBuffer() after writing to fix DefaultServletTest.testFiltered()

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2018-07-19 12:46:18 +10:00
parent 6de77d26e2
commit 648554ad5c
1 changed files with 0 additions and 2 deletions

View File

@ -688,8 +688,6 @@ public class ResourceService
BufferUtil.writeTo(buffer,out);
else
content.getResource().writeTo(out,0,content_length);
response.flushBuffer();
}
// else do a bypass write
else