Update of /cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/mcl/net
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19723/src/nl/cwi/monetdb/mcl/net
Modified Files:
MapiSocket.java
Log Message:
Spit out how many bytes we /did/ receive if we received an incomplete
block.
Index: MapiSocket.java
===================================================================
RCS file:
/cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/mcl/net/MapiSocket.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- MapiSocket.java 28 Aug 2007 21:03:46 -0000 1.9
+++ MapiSocket.java 2 Oct 2007 07:46:18 -0000 1.10
@@ -682,7 +682,8 @@
throw new IOException("End of stream reached");
if (size != blockLen) {
if (debug) {
- logRd("the following incomplete block
was received:");
+ logRd("the following incomplete block
(" + size +
+ " bytes) was
received:");
logRx(new String(block, 0, size,
"UTF-8"));
}
throw new IOException("Incomplete block read
from stream");
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins