servlet problem returning > 65536 bytes

I'm having a problem returning data greater than 65536 bytes in
my Jigsaw servlet.  If I'm doing a GET (doGet), the client will
see all the data up to the 65356'th byte and then:

Servlet has thrown exception:java.lang.ArrayIndexOutOfBoundsExceptionConnection closed by foreign host.

Please note that this exception is being thrown after doGet() returns
control to Jigsaw.

When doing a POST, I get even more strange results.  The first 65536 bytes
are fine, but the next byte starts at the _begginging_ of the data, so
byte 65537 actual has the same value as byte 1, 65538 has the value
of byte 2, etc.

I'm using Jigsaw 2.0.2.  Is this been fixed in 2.0.3?

Thanks,
Kevin

kevin@differential.com

p.s.  When I do a non-Servlet GET of the same file, things seem to work fine.

Received on Wednesday, 11 August 1999 15:02:30 UTC