Merge pull request #4081 from eclipse/jetty-9.4.x-HttpConnection_UpgradeCheck

Remove unnecessary Connection upgrade check
This commit is contained in:
Simone Bordet 2019-10-01 18:10:23 +02:00 committed by GitHub
commit a380f6b7b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
{