You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/21 22:31:35 UTC

[jira] [Updated] (SLING-3255) StreamRendererServlet makes incorrect assumptions about BufferedInputStream

     [ https://issues.apache.org/jira/browse/SLING-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated SLING-3255:
---------------------------------

    Attachment: 0001-SLING-3255-StreamRendererServlet-makes-incorrect-ass.patch

Proposed patch

> StreamRendererServlet makes incorrect assumptions about BufferedInputStream
> ---------------------------------------------------------------------------
>
>                 Key: SLING-3255
>                 URL: https://issues.apache.org/jira/browse/SLING-3255
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>            Reporter: Jukka Zitting
>         Attachments: 0001-SLING-3255-StreamRendererServlet-makes-incorrect-ass.patch
>
>
> The class (with code apparently borrowed from Tomcat) assumes that BufferedInputStream.read(...) always fills the requested buffer, even if the BIS does not make such a guarantee.
> See OAK-956 for related discussion.



--
This message was sent by Atlassian JIRA
(v6.1#6144)