mirror of https://github.com/grpc/grpc-java.git
netty: Backport SETTINGS ACK sequencing fix
This fix was made in netty/netty#6521. Fixes #2801
This commit is contained in:
parent
9ef07916f7
commit
2cb6ecc3b3
|
@ -450,11 +450,11 @@ public class FixedHttp2ConnectionDecoder implements Http2ConnectionDecoder {
|
|||
|
||||
@Override
|
||||
public void onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) throws Http2Exception {
|
||||
encoder.remoteSettings(settings);
|
||||
|
||||
// Acknowledge receipt of the settings.
|
||||
encoder.writeSettingsAck(ctx, ctx.newPromise());
|
||||
|
||||
encoder.remoteSettings(settings);
|
||||
|
||||
listener.onSettingsRead(ctx, settings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue