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:
parent
723bb01c29
commit
d66375bf5c
@ -170,8 +170,8 @@ public class LdapConnection extends AbstractConnection {
|
|||||||
final int ldapVersion = LDAP_VERSION3;
|
final int ldapVersion = LDAP_VERSION3;
|
||||||
|
|
||||||
// Initialize the streams and start the thread
|
// Initialize the streams and start the thread
|
||||||
public LdapConnection(String name, Socket clientSocket) {
|
public LdapConnection(Socket clientSocket) {
|
||||||
super(name + "-" + clientSocket.getPort(), clientSocket);
|
super("LdapConnection-" + clientSocket.getPort(), clientSocket);
|
||||||
try {
|
try {
|
||||||
is = new BufferedInputStream(client.getInputStream());
|
is = new BufferedInputStream(client.getInputStream());
|
||||||
os = new BufferedOutputStream(client.getOutputStream());
|
os = new BufferedOutputStream(client.getOutputStream());
|
||||||
|
@ -24,6 +24,6 @@ public class LdapServer extends AbstractServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public AbstractConnection createConnectionHandler(Socket clientSocket) {
|
public AbstractConnection createConnectionHandler(Socket clientSocket) {
|
||||||
return new LdapConnection("LdapServer", clientSocket);
|
return new LdapConnection(clientSocket);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user