From af1ac146af4c3ad28231d5e11b2a58579a3cec1b Mon Sep 17 00:00:00 2001 From: Paul Nicolucci Date: Sun, 13 Apr 2025 19:25:16 -0400 Subject: [PATCH] Remove TODO comment that is no longer needed --- .../internal/inbound/HttpInboundServiceContextImpl.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java b/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java index e8087344cfab..3606b9ed8379 100644 --- a/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java +++ b/dev/com.ibm.ws.transport.http/src/com/ibm/ws/http/channel/internal/inbound/HttpInboundServiceContextImpl.java @@ -546,8 +546,6 @@ protected HttpRequestMessageImpl getRequestImpl() { setStartTime(); HttpRequestMessageImpl req = getMyRequest(); - // if applicable set the HTTP/2 specific content length - //TODO: Netty H2 if (!getHttpConfig().useNetty() && myLink instanceof H2HttpInboundLinkWrap) { int len = ((H2HttpInboundLinkWrap) myLink).getH2ContentLength(); if (len != -1) { @@ -945,7 +943,7 @@ public VirtualConnection sendRawResponseBody(WsByteBuffer[] body, InterChannelCa * @return HttpInvalidMessageException (null if valid) */ protected HttpInvalidMessageException checkResponseValidity() { - + // if this wasn't a HEAD request, then check to make sure we sent the // same amount of bytes that were in the content-length header if (!MethodValues.HEAD.equals(getRequest().getMethodValue())) { @@ -2125,7 +2123,7 @@ public void setStartTime() { if (Objects.nonNull(nettyContext)) { nettyContext.channel().attr(NettyHttpConstants.REQUEST_START_TIME).set(this.startTime); - } + } } } } @@ -2195,7 +2193,7 @@ public void setRemoteUser(String remoteUser) { } public String getRemoteUser() { - return this.remoteUser; + return this.remoteUser; } public void initForwardedValues() {