Fixed SslConnection upgrade handling

This commit is contained in:
Greg Wilkins 2011-11-10 12:44:32 +11:00
parent 6e14902659
commit 7504d24e9e
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ public class SslConnection extends AbstractConnection implements AsyncConnection
{
// handle the delegate connection
AsyncConnection next = (AsyncConnection)_connection.handle();
if (next!=_connection && next==null)
if (next!=_connection && next!=null)
{
_connection=next;
progress=true;