lordgamez commented on code in PR #1600:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1600#discussion_r1295815008
##########
extensions/standard-processors/tests/unit/PutTCPTests.cpp:
##########
@@ -64,12 +65,14 @@ class CancellableTcpServer : public utils::net::TcpServer {
logger_->log_error("Error during accepting new connection: %s",
accept_error.message());
break;
}
+ std::error_code error;
+ auto remote_address =
socket.lowest_layer().remote_endpoint(error).address();
Review Comment:
I think it's not necessary as the remote address is unused in the context of
this test case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]