Using loopback you would still need to watch out for dropping datagrams under
very high load, because you can overflow the receive buffer but it might be
possible to solve this by setting the DatagramChannel receive buffer
significantly higher than the send buffer (200k/8k) and assumes that the
reliably so this
is what I came up with instead.
Take care!
Lee Carlson
Here's the code:
/*
* ByteBufferRecycler.java
*/
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
public class ByteBufferRecycler
{
public static int
and will either continue to compress or will
back off exponentially and not waist CPU power do it if the data doesn't
compress well anyway. This filter would port to mina just fine I think.
r/ Lee
On Thu, 29 Mar 2007 10:32:16 +0900, Trustin Lee [EMAIL PROTECTED]
said:
Hi Lee,
On 3/28/07, Lee Carlson [EMAIL
my hands off this keyboard...!
Lee Carlson
- Original message -
From: Murat OZDEMiR [EMAIL PROTECTED]
To: dev@mina.apache.org
Date: Wed, 28 Mar 2007 11:04:30 +0300
Subject: RE: SocketConnector Closes Session at 20 sec.
Thank you very much Niklas,
I guess you're right. Using HTTP/1.0 i'm