#3525, #3526: Set encode protocol to CONFIGURATION before connecting to a downstream server

This commit is contained in:
bob7l 2023-09-25 01:57:40 -07:00 committed by GitHub
parent 497c6879e0
commit f3397b3003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -622,8 +622,8 @@ public class InitialHandler extends PacketHandler implements PendingConnection
{ {
Preconditions.checkState( thisState == State.CONFIGURING, "Not expecting CONFIGURING" ); Preconditions.checkState( thisState == State.CONFIGURING, "Not expecting CONFIGURING" );
finish2();
ch.setEncodeProtocol( Protocol.CONFIGURATION ); ch.setEncodeProtocol( Protocol.CONFIGURATION );
finish2();
} }
private void finish2() private void finish2()