[ 
https://issues.apache.org/jira/browse/DIRMINA-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980457#action_12980457
 ] 

Emmanuel Lecharny commented on DIRMINA-815:
-------------------------------------------

In any case, if a new encoder and decoder are not created for every single 
request, as Serguey is pointing out, then the CummulativeProtocolDecoder should 
work, no matter if we have a hashCode() method or not.

However, it's a bad thing not to have such a method. It will be added (ad the 
equals method that comes along)

> CumulativeProtocolDecoder.decode(...) does not find previous buffer
> -------------------------------------------------------------------
>
>                 Key: DIRMINA-815
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-815
>             Project: MINA
>          Issue Type: Bug
>         Environment: any
>            Reporter: Siro Mateos
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> CumulativeProtocolDecoder does not find previous input buffer stored in 
> 'session.attributes' (see 'CumulativeProtocolDecoder.java', line 136), 
> probably because 'attributes' uses a ConcurrentHashMap, and class 
> AttributeKey does NOT implement hashCode(), rendering 
> CumulativeProtocolDecoder useless.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to