[ https://issues.apache.org/jira/browse/CXF-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14167558#comment-14167558 ]
ASF GitHub Bot commented on CXF-6038: ------------------------------------- GitHub user kylape opened a pull request: https://github.com/apache/cxf/pull/25 [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 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cxf/pull/25.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 #25 ---- commit a4d64d349832bcd413222fddd37d613eb7e78112 Author: Kyle Lape <kyle.l...@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)