Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 79522 invoked from network); 11 Dec 2010 13:06:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Dec 2010 13:06:26 -0000 Received: (qmail 65072 invoked by uid 500); 11 Dec 2010 13:06:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 64874 invoked by uid 500); 11 Dec 2010 13:06:25 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 64867 invoked by uid 99); 11 Dec 2010 13:06:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 13:06:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 13:06:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBBD61L5026167 for ; Sat, 11 Dec 2010 13:06:01 GMT Message-ID: <6387042.72291292072761050.JavaMail.jira@thor> Date: Sat, 11 Dec 2010 08:06:01 -0500 (EST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-1533) Incorrect PDU buffer handling in LdapDecoder with log level set to DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny resolved DIRSERVER-1533. ------------------------------------------ Resolution: Fixed Thanks for the patch ! I applied it (partially) and added a test to check that the decoder was correctly tracing when 2 messages are present in the PDU. All is fine now. Many thinks ! > Incorrect PDU buffer handling in LdapDecoder with log level set to DEBUG > ------------------------------------------------------------------------ > > Key: DIRSERVER-1533 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1533 > Project: Directory ApacheDS > Issue Type: Bug > Components: ldap > Affects Versions: 1.5.7, 1.5.6, 1.5.5 > Reporter: Victor Antonovich > Fix For: 2.0.0-RC1 > > Attachments: LdapDecoder.diff > > > Setting of log4j log level to DEBUG leads to incorrect PDU buffer handling by LdapDecoder class in case of more than one PDU in same buffer. First PDU processed normally, but remainder of second PDU data will be lost due buffer flipping in PDU dumping code. This behavior causes various LDAP codec errors under load. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.