1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-24 03:27:59 +01:00

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

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();
}