[
https://issues.apache.org/jira/browse/DIRMINA-1146?focusedWorklogId=1040662&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1040662
]
ASF GitHub Bot logged work on DIRMINA-1146:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 10/Sep/26 07:32
Start Date: 10/Sep/26 07:32
Worklog Time Spent: 10m
Work Description: the-thing commented on PR #61:
URL: https://github.com/apache/mina/pull/61#issuecomment-5614859340
Ok. I misunderstood the root cause of the problem.
My original assumption was that the application level messages were the
problem, but it seems that SSL messages are.
`org.apache.mina.core.filterchain.DefaultIoFilterChain.HeadFilter` increases
the counter for all messages (even SSL), but
`org.apache.mina.core.filterchain.DefaultIoFilterChain.TailFilter` is never
reached because of `org.apache.mina.filter.ssl.SslFilter#messageSent` filtering.
`SslFilter` may stay the same, but
`org.apache.mina.core.filterchain.DefaultIoFilterChain.HeadFilter` needs to
skip these and not increment the counter.
I have a feeling `increaseScheduledWriteBytes` in
`org.apache.mina.core.filterchain.DefaultIoFilterChain.HeadFilter#filterWrite`
probably needs to be filtered as well.
I pushed and squashed the latest changes. Let me know how you see it.
Issue Time Tracking
-------------------
Worklog Id: (was: 1040662)
Time Spent: 1h 50m (was: 1h 40m)
> 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: 1h 50m
> 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]