Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A4F2710ACC for ; Fri, 12 Apr 2013 16:36:18 +0000 (UTC) Received: (qmail 40244 invoked by uid 500); 12 Apr 2013 16:36:18 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 40188 invoked by uid 500); 12 Apr 2013 16:36:18 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 40100 invoked by uid 99); 12 Apr 2013 16:36:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 16:36:18 +0000 Date: Fri, 12 Apr 2013 16:36:18 +0000 (UTC) From: "SuoNayi (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4469) Maximum connections control can not work in concurrent environment 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/AMQ-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630283#comment-13630283 ] SuoNayi commented on AMQ-4469: ------------------------------ The inner TransportAcceptListener in the TransportConnector that increases the current number of connections created by clients async will allow the TcpTransportServer to accept more connections. The currentTransportCount property in the TcpTransportServer is non thread-safe while it will be counted by the TransportConnector in parallel. > Maximum connections control can not work in concurrent environment > ------------------------------------------------------------------ > > Key: AMQ-4469 > URL: https://issues.apache.org/jira/browse/AMQ-4469 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.6.0 > Reporter: SuoNayi > Fix For: 5.9.0 > > Attachments: AMQ-4469.patch, MaxConnectionControlTest.java > > > The test case demonstrates that you can create even more connections than the maximum size. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira