They're big, they're partial and we don't need to hear about 'em!

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2762 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-08-09 05:00:01 +00:00
parent 206dd46e68
commit c289da2150
@@ -1,5 +1,5 @@
// //
// $Id: ConnectionManager.java,v 1.31 2003/05/10 01:05:33 mdb Exp $ // $Id: ConnectionManager.java,v 1.32 2003/08/09 05:00:01 mdb Exp $
package com.threerings.presents.server.net; package com.threerings.presents.server.net;
@@ -410,16 +410,16 @@ public class ConnectionManager extends LoopingThread
if (buffer.remaining() > 0) { if (buffer.remaining() > 0) {
fully = false; fully = false;
Log.info("Partial write [conn=" + conn + // Log.info("Partial write [conn=" + conn +
", msg=" + StringUtil.shortClassName(outmsg) + // ", msg=" + StringUtil.shortClassName(outmsg) +
", wrote=" + wrote + // ", wrote=" + wrote +
", size=" + buffer.limit() + "]."); // ", size=" + buffer.limit() + "].");
pwh.handlePartialWrite(conn, buffer); pwh.handlePartialWrite(conn, buffer);
} else if (wrote > 10000) { // } else if (wrote > 10000) {
Log.info("Big write [conn=" + conn + // Log.info("Big write [conn=" + conn +
", msg=" + StringUtil.shortClassName(outmsg) + // ", msg=" + StringUtil.shortClassName(outmsg) +
", wrote=" + wrote + "]."); // ", wrote=" + wrote + "].");
} }
} finally { } finally {