return EOF rather than throw EoFException

This commit is contained in:
Greg Wilkins 2011-07-18 14:30:04 +10:00
parent f4255bdeef
commit d091003cfc
1 changed files with 4 additions and 2 deletions

View File

@ -185,8 +185,10 @@ public class ChannelEndPoint implements EndPoint
Log.ignore(xx);
}
if (len>=0)
if (len>0)
throw x;
Log.ignore(x);
len=-1;
}
}
else