Skip to content

Commit

Permalink
Revert "[ISSUE apache#3271]Fix handle http message throw IllegalRefer…
Browse files Browse the repository at this point in the history
…enceCountException"

This reverts commit 3a36275.
  • Loading branch information
mytang0 committed Feb 27, 2023
1 parent ba4ebe6 commit ba4d8da
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
import io.netty.handler.ssl.SslHandler;
import io.netty.handler.timeout.IdleState;
import io.netty.handler.timeout.IdleStateEvent;
import io.netty.util.ReferenceCountUtil;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.semconv.trace.attributes.SemanticAttributes;

Expand Down Expand Up @@ -443,7 +444,9 @@ protected void channelRead0(ChannelHandlerContext ctx, HttpRequest httpRequest)
}

} catch (Exception ex) {
log.error("execute AbstractHTTPServer.HTTPHandler.channelRead0 error", ex);
log.error("AbrstractHTTPServer.HTTPHandler.channelRead error", ex);
} finally {
ReferenceCountUtil.release(httpRequest);
}
}

Expand Down

0 comments on commit ba4d8da

Please sign in to comment.