[
https://issues.apache.org/jira/browse/DIRMINA-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Ishchenko updated DIRMINA-815:
-------------------------------------
Attachment: AttributeKey.patch
I've added equals and hashCode methods to AttributeKey. But I had to remove
object address addition to private name field. Wouldn't that be a problem in
other use cases of AttributeKey?
Anyway, please take a look at patch and give some feedback.
> 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
> Attachments: AttributeKey.patch
>
> 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.