directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1533) Incorrect PDU buffer handling in LdapDecoder with log level set to DEBUG
Date Sat, 11 Dec 2010 13:06:01 GMT

     [ 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.


Mime
View raw message