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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
