Truth in commenting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5856 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1128,7 +1128,7 @@ public class ConnectionManager extends LoopingThread
|
|||||||
{
|
{
|
||||||
// write any partial message if we have one
|
// write any partial message if we have one
|
||||||
if (_partial != null) {
|
if (_partial != null) {
|
||||||
// if our outgoing channel is still not ready, then bail immediately
|
// if our outgoing channel is gone or closed, then bail immediately
|
||||||
SocketChannel sochan = conn.getChannel();
|
SocketChannel sochan = conn.getChannel();
|
||||||
if (sochan == null || (!sochan.isConnected() && !sochan.isConnectionPending())) {
|
if (sochan == null || (!sochan.isConnected() && !sochan.isConnectionPending())) {
|
||||||
throw new IOException("Connection unavailable for overflow write " + sochan);
|
throw new IOException("Connection unavailable for overflow write " + sochan);
|
||||||
|
|||||||
Reference in New Issue
Block a user