You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/06/19 18:08:07 UTC

[jira] Created: (GERONIMO-4700) Workaround jetty 7 bug 280843

Workaround jetty 7 bug 280843
-----------------------------

                 Key: GERONIMO-4700
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4700
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty
    Affects Versions: 2.2
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 2.2


https://bugs.eclipse.org/bugs/show_bug.cgi?id=280843

If header buffer and content buffer are the same size then its possible for Direct buffers to be handed out from the buffer pool for headers which results in NPEs and 400 errors.

Until greg can fix this for M4 we can just check that the buffers are different sizes and throw an exception if they aren't.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-4700) Workaround jetty 7 bug 280843

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721857#action_12721857 ] 

David Jencks commented on GERONIMO-4700:
----------------------------------------

Workaround added in rev 786566.

I'll leave this open until we can remove the workaround.

> Workaround jetty 7 bug 280843
> -----------------------------
>
>                 Key: GERONIMO-4700
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4700
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.2
>
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=280843
> If header buffer and content buffer are the same size then its possible for Direct buffers to be handed out from the buffer pool for headers which results in NPEs and 400 errors.
> Until greg can fix this for M4 we can just check that the buffers are different sizes and throw an exception if they aren't.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-4700) Workaround jetty 7 bug 280843

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-4700.
----------------------------------

    Resolution: Fixed

Jetty fixed the problem, reverted workaround in rev 797848.

> Workaround jetty 7 bug 280843
> -----------------------------
>
>                 Key: GERONIMO-4700
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4700
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.2
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.2
>
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=280843
> If header buffer and content buffer are the same size then its possible for Direct buffers to be handed out from the buffer pool for headers which results in NPEs and 400 errors.
> Until greg can fix this for M4 we can just check that the buffers are different sizes and throw an exception if they aren't.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.