mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 12:29:31 +00:00
jetty-9 slow progress on SSL robustness
This commit is contained in:
parent
6e62ab9bbe
commit
9a5f86188e
@ -175,7 +175,7 @@ public class DispatchedIOFuture implements IOFuture
|
||||
_lock.lock();
|
||||
try
|
||||
{
|
||||
if (!_complete)
|
||||
while (!_complete)
|
||||
_block.await();
|
||||
isReady();
|
||||
}
|
||||
|
@ -239,7 +239,6 @@ public class SslConnection extends AbstractAsyncConnection
|
||||
@Override
|
||||
public void onIdleExpired(long idleForMs)
|
||||
{
|
||||
System.err.println("LAST "+(System.currentTimeMillis()-_last));
|
||||
_appConnection.onIdleExpired(idleForMs);
|
||||
}
|
||||
|
||||
@ -253,7 +252,6 @@ public class SslConnection extends AbstractAsyncConnection
|
||||
_lock.lock();
|
||||
try
|
||||
{
|
||||
System.err.println("onReadable");
|
||||
_last=System.currentTimeMillis();
|
||||
LOG.debug("onReadable {}",this);
|
||||
|
||||
@ -296,6 +294,7 @@ public class SslConnection extends AbstractAsyncConnection
|
||||
// Run any ready callback from _appReadFuture in this thread.
|
||||
_appReadFuture.run();
|
||||
_appWriteFuture.run();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -131,7 +131,6 @@ public class SelectChannelEndPointTest
|
||||
@Override
|
||||
public synchronized void onReadable()
|
||||
{
|
||||
System.err.println("APP onReadable");
|
||||
try
|
||||
{
|
||||
_last=System.currentTimeMillis();
|
||||
@ -508,7 +507,7 @@ public class SelectChannelEndPointTest
|
||||
server.configureBlocking(false);
|
||||
|
||||
_manager.register(server);
|
||||
int writes = 10000;
|
||||
int writes = 1000;
|
||||
|
||||
final byte[] bytes="HelloWorld-".getBytes(StringUtil.__UTF8_CHARSET);
|
||||
byte[] count="0\n".getBytes(StringUtil.__UTF8_CHARSET);
|
||||
|
Loading…
x
Reference in New Issue
Block a user