mirror of https://github.com/apache/cloudstack.git
Added a log line to HttpUploadServerHandler (#5983)
* Added a log line to HttpUploadServerHandler * Removed \n * Address review Co-authored-by: dahn <daan.hoogland@gmail.com> Co-authored-by: Joao <JoaoJandre@gitlab.com> Co-authored-by: dahn <daan.hoogland@gmail.com>
This commit is contained in:
parent
d4f40ecc6a
commit
59dda5b129
|
|
@ -113,6 +113,9 @@ public class HttpUploadServerHandler extends SimpleChannelInboundHandler<HttpObj
|
|||
@Override
|
||||
public void channelRead0(ChannelHandlerContext ctx, HttpObject msg) throws Exception {
|
||||
if (msg instanceof HttpRequest) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace(String.format("HTTP request: %s", msg));
|
||||
}
|
||||
HttpRequest request = this.request = (HttpRequest) msg;
|
||||
responseContent.setLength(0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue