[
https://issues.apache.org/jira/browse/DIRMINA-1146?focusedWorklogId=1040294&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1040294
]
ASF GitHub Bot logged work on DIRMINA-1146:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 08/Sep/26 16:58
Start Date: 08/Sep/26 16:58
Worklog Time Spent: 10m
Work Description: the-thing opened a new pull request, #61:
URL: https://github.com/apache/mina/pull/61
Fixes [DIRMINA-1146](https://issues.apache.org/jira/browse/DIRMINA-1146)
It will also help fix https://github.com/quickfix-j/quickfixj/issues/406
**Changes**
Currently none of the `EncryptedWriteRequest` instances have parent message
provided which means that original message and request is always the same
instance. We must pass all the messages down the chain.
`org.apache.mina.filter.ssl.SslFilter` now also passes the encrypted message
down the filter chain, eventually reaching
`org.apache.mina.core.filterchain.DefaultIoFilterChain.TailFilter` which will
increase the written message count and also decrement scheduled message count.
Obviously this change will have an impact filters configured between
`org.apache.mina.filter.ssl.SslFilter` and
`org.apache.mina.core.filterchain.DefaultIoFilterChain.TailFilter`, but I think
users should make changes accordingly in this case.
Issue Time Tracking
-------------------
Worklog Id: (was: 1040294)
Remaining Estimate: 0h
Time Spent: 10m
> TLS enabled session got disconnected when outbound messages add up to the
> value of maxscheduledwriterequests
> ------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-1146
> URL: https://issues.apache.org/jira/browse/DIRMINA-1146
> Project: MINA
> Issue Type: Bug
> Reporter: Chily
> Assignee: Jonathan Valliere
> Priority: Blocker
> Fix For: 2.2.2
>
> Attachments: ConnectionEndPointIoHandler.java,
> EmDsectProtocolIoHandlare.java
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Slow Consumer Protection Feature does not work on TLS enabled session
> -> ioSession.getScheduledWriteMessages() never decreases in
> IoSessionResponder#send method
> internal.engine.session.maxscheduledwriterequests=10000
> Our TLS enabled session got disconneced when the outbound messages added up
> to 10000.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]