remove unnecessary connection upgrade check

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2019-09-12 10:52:06 +10:00
parent bde86467f4
commit 82a00524d1
1 changed files with 0 additions and 5 deletions

View File

@ -257,11 +257,6 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
// Parse the request buffer.
boolean handle = parseRequestBuffer();
// If there was a connection upgrade, the other
// connection took over, nothing more to do here.
if (getEndPoint().getConnection() != this)
break;
// Handle channel event
if (handle)
{