JETTY-1068 better warning for buffer overflow
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@568 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
60cc0db395
commit
c6a5ddd20e
|
@ -563,6 +563,8 @@ public class SslSelectChannelEndPoint extends SelectChannelEndPoint
|
|||
switch(_result.getStatus())
|
||||
{
|
||||
case BUFFER_OVERFLOW:
|
||||
throw new IllegalStateException(_result.toString());
|
||||
|
||||
case BUFFER_UNDERFLOW:
|
||||
if (Log.isDebugEnabled()) Log.debug("unwrap {}",_result);
|
||||
return (total_filled > 0);
|
||||
|
|
Loading…
Reference in New Issue