cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6038) Repeatedly invoking setHandlerChain() can cause a build up of handler interceptors on the chain
Date Fri, 10 Oct 2014 21:54:35 GMT

    [ https://issues.apache.org/jira/browse/CXF-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167599#comment-14167599
] 

ASF GitHub Bot commented on CXF-6038:
-------------------------------------

GitHub user kylape opened a pull request:

    https://github.com/apache/cxf/pull/26

    [CXF-6038] Only add the handler interceptors once

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kylape/cxf cxf-6038--2.7-fixes

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/26.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #26
    
----
commit 69c001d075fa819622600897d057168e65a1d330
Author: Kyle Lape <kyle.lape@redhat.com>
Date:   2014-10-10T21:34:07Z

    [CXF-6038] Only add the handler interceptors once

----


> Repeatedly invoking setHandlerChain() can cause a build up of handler interceptors on
the chain
> -----------------------------------------------------------------------------------------------
>
>                 Key: CXF-6038
>                 URL: https://issues.apache.org/jira/browse/CXF-6038
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.0.1
>            Reporter: Kyle Lape
>
> If an interceptor chain is cached between invocations and a user calls {{setHandlerChain()}}
before every invocation, the handler chain interceptors get added to the interceptor chain
over and over indefinitely.  
> I'm guessing that {{JaxWsEndpointImpl.addHandlerInterceptors()}} would need to check
for the presence of the handler interceptors on the chain already.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message