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

[jira] [Resolved] (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 ]

Bertrand Delacretaz resolved SLING-3255.
----------------------------------------

    Resolution: Fixed

Thanks for your patch, I have committed it in http://svn.apache.org/r1544432 and added a few more test cases in http://svn.apache.org/r1544434

> 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
>    Affects Versions: Servlets Get 2.1.4
>            Reporter: Jukka Zitting
>            Assignee: Bertrand Delacretaz
>             Fix For: Servlets Get 2.1.6
>
>         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)