Description
In RequestChannel.scala, RequestChannel.sendResponse records incorrect size for `NetworkSend` when trace logging is enabled, as shown below:
RequestChannel.scala
def sendResponse(response: RequestChannel.Response) { if (isTraceEnabled) { val requestHeader = response.request.header trace(s"Sending ${requestHeader.apiKey} response to client ${requestHeader.clientId} of " + s"${response.responseSend.size} bytes.") }
`responseSend` is of `scala.Option` type so it should be `response.responseSend.get.size`.
Attachments
Issue Links
- links to