Not sure how to help you with 1.1, but I can tell you that there is a Request/Response filter in the trunk...
On 6/28/07, Chris Chalmers <[EMAIL PROTECTED]> wrote:
Hi all I am using Mina 1.1.0 and coming across the following issue: I have a Mina server that simply pumps data through (based on the Mina Proxy example) - however, when sending large files (500Mb+), the data is read in quickly, but written slowly (the target uses a blocking Socket read); this causes the server's memory usage to increase very quickly. I have tried to use the ReadThrottleFilterBuilder in combination with the WriteBufferLimitFilterBuilder (from http://issues.apache.org/jira/browse/DIRMINA-302), but the best I can get is 226Mb memory usage when setting the read/write setMaximumConnectionBufferSize to 50000. Is there any way that I can force Mina sessions to block incoming messages instead? The source code explicitly sets the SocketChannels to non-blocking and I can't see any way to change this using the API. Alternatively is there a better method that I am overlooking? Thanks in anticipation, Chris
-- ..Cheers Mark
