Mercurial Hosting > luan
diff src/goodjava/rpc/RpcServer.java @ 1492:aaac1d29edea
better io
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2020 22:25:56 -0600 |
parents | 27efb1fcbcb5 |
children |
line wrap: on
line diff
--- a/src/goodjava/rpc/RpcServer.java Sat May 02 21:09:17 2020 -0600 +++ b/src/goodjava/rpc/RpcServer.java Sat May 02 22:25:56 2020 -0600 @@ -23,7 +23,7 @@ Object[] args = list.toArray(); return new RpcCall(inBinary,lenBinary,cmd,args); } catch(RpcError e) { - if( !readSome && e.getCause() instanceof EOFException ) + if( e.getCause() instanceof EOFException ) return null; throw e; }