411545 - SslConnection.DecryptedEndpoint.fill() sometimes misses a few network bytes
+ Adding continuation in this rare SSL case to allow the remaining bytes to be read properly.
This commit is contained in:
parent
298b46a96f
commit
1f21c96f6c
|
@ -618,6 +618,13 @@ public class SslConnection extends AbstractConnection
|
|||
}
|
||||
else
|
||||
{
|
||||
if (_encryptedInput.hasRemaining())
|
||||
{
|
||||
// if there are more encrypted bytes,
|
||||
// then we need to unwrap more, we don't
|
||||
// care if net_filled is zero
|
||||
continue;
|
||||
}
|
||||
// we need to wait for more net data
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue