View | Details | Raw Unified | Return to bug 60146
Collapse All | Expand All

(-)tc8.5.x/trunk/java/org/apache/catalina/webresources/CachedResource.java (-1 / +1 lines)
Lines 264-270 Link Here
264
264
265
    @Override
265
    @Override
266
    public InputStream getInputStream() {
266
    public InputStream getInputStream() {
267
        byte[] content = cachedContent;
267
        byte[] content = getContent();
268
        if (content == null) {
268
        if (content == null) {
269
            // Can't cache InputStreams
269
            // Can't cache InputStreams
270
            return webResource.getInputStream();
270
            return webResource.getInputStream();
(-)trunk/java/org/apache/catalina/webresources/CachedResource.java (-1 / +1 lines)
Lines 264-270 Link Here
264
264
265
    @Override
265
    @Override
266
    public InputStream getInputStream() {
266
    public InputStream getInputStream() {
267
        byte[] content = cachedContent;
267
        byte[] content = getContent();
268
        if (content == null) {
268
        if (content == null) {
269
            // Can't cache InputStreams
269
            // Can't cache InputStreams
270
            return webResource.getInputStream();
270
            return webResource.getInputStream();

Return to bug 60146