1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

Fix LdapConnection thread name

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@259 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-12-26 13:21:39 +00:00
parent 723bb01c29
commit d66375bf5c
2 changed files with 3 additions and 3 deletions

View File

@ -170,8 +170,8 @@ public class LdapConnection extends AbstractConnection {
final int ldapVersion = LDAP_VERSION3;
// Initialize the streams and start the thread
public LdapConnection(String name, Socket clientSocket) {
super(name + "-" + clientSocket.getPort(), clientSocket);
public LdapConnection(Socket clientSocket) {
super("LdapConnection-" + clientSocket.getPort(), clientSocket);
try {
is = new BufferedInputStream(client.getInputStream());
os = new BufferedOutputStream(client.getOutputStream());

View File

@ -24,6 +24,6 @@ public class LdapServer extends AbstractServer {
}
public AbstractConnection createConnectionHandler(Socket clientSocket) {
return new LdapConnection("LdapServer", clientSocket);
return new LdapConnection(clientSocket);
}
}