#3761: Whitelist LoginPayloadResponse in UpstreamBridge#shouldHandle
Required for #3758 to function correctly.
This commit is contained in:
		| @@ -704,6 +704,9 @@ public class InitialHandler extends PacketHandler implements PendingConnection | ||||
|         } | ||||
|         Preconditions.checkState( future != null, "Unexpected custom LoginPayloadResponse" ); | ||||
|         future.complete( response.getData() ); | ||||
|  | ||||
|         // we should never pass this to the backend | ||||
|         throw CancelSendSignal.INSTANCE; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|   | ||||
| @@ -132,7 +132,7 @@ public class UpstreamBridge extends PacketHandler | ||||
|     @Override | ||||
|     public boolean shouldHandle(PacketWrapper packet) throws Exception | ||||
|     { | ||||
|         return con.getServer() != null || packet.packet instanceof PluginMessage || packet.packet instanceof CookieResponse; | ||||
|         return con.getServer() != null || packet.packet instanceof PluginMessage || packet.packet instanceof CookieResponse || packet.packet instanceof LoginPayloadResponse; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Outfluencer
					Outfluencer