Socks5Proxy: Include server socket in thread name

This commit is contained in:
Florian Schmaus 2019-05-18 13:23:24 +02:00
parent f7762c5db7
commit ab99f629a3
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public final class Socks5Proxy {
if (this.serverSocket != null) {
this.serverThread = new Thread(this.serverProcess);
this.serverThread.setName("Smack Local SOCKS5 Proxy");
this.serverThread.setName("Smack Local SOCKS5 Proxy [" + this.serverSocket + ']');
this.serverThread.setDaemon(true);
this.serverThread.start();
}