Mercurial Hosting > luan
diff src/goodjava/rpc/RpcCon.java @ 1499:22e15cf73040
lucene.backup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 09 May 2020 23:14:13 -0600 |
parents | 91c167099462 |
children | 973d3039c421 |
line wrap: on
line diff
--- a/src/goodjava/rpc/RpcCon.java Fri May 08 18:07:14 2020 -0600 +++ b/src/goodjava/rpc/RpcCon.java Sat May 09 23:14:13 2020 -0600 @@ -60,10 +60,9 @@ if( in != null ) { CountingInputStream countIn = new CountingInputStream(in); IoUtils.copyAll(countIn,out); - countIn.close(); if( countIn.count() != lenIn ) { close(); - throw new RpcError("InputStream wrong length "+countIn.count()+" when should be "+lenIn); + throw new RpcError("InputStream wrong length "+countIn.count()+" when should be "+lenIn+" - list = "+list); } } out.flush();