Skip to content

Commit

Permalink
Merge #3032 into 1.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Jan 18, 2024
2 parents c57f382 + 405d190 commit 145a0db
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2023 VMware, Inc. or its affiliates, All Rights Reserved.
* Copyright (c) 2020-2024 VMware, Inc. or its affiliates, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -354,10 +354,10 @@ public void onUncaughtException(Connection connection, Throwable error) {

@Override
public void operationComplete(Future<Http2StreamChannel> future) {
Channel channel = pooledRef.poolable().channel();
Http2Pool.Http2PooledRef http2PooledRef = http2PooledRef(pooledRef);
ChannelHandlerContext frameCodec = http2PooledRef.slot.http2FrameCodecCtx();
if (future.isSuccess()) {
Channel channel = pooledRef.poolable().channel();
Http2Pool.Http2PooledRef http2PooledRef = http2PooledRef(pooledRef);
ChannelHandlerContext frameCodec = http2PooledRef.slot.http2FrameCodecCtx();
Http2StreamChannel ch = future.getNow();

if (!channel.isActive() || frameCodec == null ||
Expand Down

0 comments on commit 145a0db

Please sign in to comment.