mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Panicker" <vino...@gmail.com>
Subject Re: JZlib buffering
Date Sun, 24 Dec 2006 06:38:30 GMT
On 12/24/06, class acts <classacts@gmail.com> wrote:
> Hi All,
>   It seems that using filter_compression on the server side and
> jzlib's Z_PARTIAL_FLUSH on the client side that packets are buffered
> in either direction.  I have tried not using BufferedOutputstream,
> tried flushing, etc.. but sometimes it will do that.  I believe that
> it is party of the PARTIAL_FLUSH mechanism anyway.  Are there any
> other streaming compression options available or does anyone know of a
> way to force it to send the envelope out the wire?  If anyone has had
> different experience I would be interested in knowing.

Do you mean to say that the packets that your client and server are
writing are not being sent immediately over the wire?

If so, then I don't see this as an issue with the compression filter
or JZlib's Z_PARTIAL_FLUSH mechanism.  Make sure that you have set
TCP_NO_DELAY to true for your sockets and then let us know.


View raw message