Merge pull request #4081 from eclipse/jetty-9.4.x-HttpConnection_UpgradeCheck
Remove unnecessary Connection upgrade check
This commit is contained in:
commit
a380f6b7b9
|
@ -257,11 +257,6 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
|
||||||
// Parse the request buffer.
|
// Parse the request buffer.
|
||||||
boolean handle = parseRequestBuffer();
|
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
|
// Handle channel event
|
||||||
if (handle)
|
if (handle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue