mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-10 11:25:00 -05: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:
parent
723bb01c29
commit
d66375bf5c
@ -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());
|
||||
|
@ -24,6 +24,6 @@ public class LdapServer extends AbstractServer {
|
||||
}
|
||||
|
||||
public AbstractConnection createConnectionHandler(Socket clientSocket) {
|
||||
return new LdapConnection("LdapServer", clientSocket);
|
||||
return new LdapConnection(clientSocket);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user