412205 - SSL handshake failure leads to unresponsive UpgradeConnection

+ Passing failure() back out of the UpgradeConnection
This commit is contained in:
Joakim Erdfelt 2013-09-03 13:15:04 -07:00
parent d920ef8c40
commit 73f06c2a14
1 changed files with 8 additions and 0 deletions

View File

@ -82,6 +82,14 @@ public class UpgradeConnection extends AbstractConnection
// start the interest in fill
fillInterested();
}
@Override
public void failed(Throwable cause)
{
super.failed(cause);
// Fail the connect promise when a fundamental exception during connect occurs.
connectPromise.failed(cause);
}
}
/** HTTP Response Code: 101 Switching Protocols */