Mantis - Resin
Viewing Issue Advanced Details
2535 minor always 03-18-08 08:24 03-24-08 12:28
ferg  
ferg  
normal  
closed  
fixed  
none    
none 3.1.6  
0002535: hessian 2 bytes
(rep by Ray Erdelyan)


I receive the error when trying to transfer files using code similar to
the "Hessian with large binary data" example. I am using version 3.1.5.
I found a post listing the same error dated: Wed Jan 23 01:59:32 CST
2008 -- Bug Report: buffered reading error in hessian3.1.3.jar --
tedeyang at gmail.com.
I followed their suggestion and it solved my problem, but I could find
nothing in the bug list. Here is the fix explained in more detail.

class= Hessian2Input extends AbstractHessianInput implements
Hessian2Constants

method= int read(byte[] buffer, int offset, int length) throws IOException

               ---------- code omitted for brevity ---------

               switch (code)
               {
               case 'b':
                   _isLastChunk = false;
    

Notes
(0002882)
ferg   
03-24-08 12:28   
hessian/3b70