Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D630517593 for ; Fri, 10 Oct 2014 21:54:35 +0000 (UTC) Received: (qmail 61194 invoked by uid 500); 10 Oct 2014 21:54:35 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 61131 invoked by uid 500); 10 Oct 2014 21:54:35 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 61000 invoked by uid 99); 10 Oct 2014 21:54:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 21:54:35 +0000 Date: Fri, 10 Oct 2014 21:54:35 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6038) Repeatedly invoking setHandlerChain() can cause a build up of handler interceptors on the chain MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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)