Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 642940f5941ce15f1a3c7c38a72b6e02484f2cda https://github.com/jenkinsci/jenkins/commit/642940f5941ce15f1a3c7c38a72b6e02484f2cda Author: gulyaev13 <gulyae...@gmail.com> Date: 2020-10-19 (Mon, 19 Oct 2020)
Changed paths: M core/src/main/java/hudson/TcpSlaveAgentListener.java Log Message: ----------- Hacktoberfest - TcpSlaveAgentListener optimization (#5012) * TcpSlaveAgentListener.ConnectionHandler.run: Move allocation of output Writer to error method * TcpSlaveAgentListener.ConnectionHandler.error: Replace PrintWriter to DataOutputStream * TcpSlaveAgentListener.ConnectionHandler.respondHello: Replace OutputStreamWriter by DataOutputStream to avoid allocation of big buffer * TcpSlaveAgentListener.ConnectionHandler.run: Replace Charsets to StandardCharsets * TcpSlaveAgentListener.ConnectionHandler: Fix encoding of response * TcpSlaveAgentListener: Remove unused imports Co-authored-by: Ilya Gulyaev <ilya.guly...@nordigy.ru> -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/f2b3cc-642940%40github.com.