Merged branch 'jetty-9.3.x' into 'jetty-9.4.x'.

This commit is contained in:
Simone Bordet 2016-05-19 11:50:35 +02:00
commit 46bc204e1c
1 changed files with 12 additions and 12 deletions

View File

@ -538,22 +538,22 @@ public abstract class AbstractConnector extends ContainerLifeCycle implements Co
LOG.warn(current);
else
LOG.debug(current);
try
{
// Arbitrary sleep to avoid spin looping.
// Subclasses may decide for a different
// sleep policy or closing the connector.
Thread.sleep(1000);
return true;
}
catch (Throwable x)
{
return false;
}
}
else
{
LOG.ignore(current);
}
try
{
// Arbitrary sleep to avoid spin looping.
// Subclasses may decide for a different
// sleep policy or closing the connector.
Thread.sleep(1000);
return true;
}
catch (Throwable x)
{
return false;
}
}