Skip to content

Commit

Permalink
clear authentication list when re-connect JAVA-127
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jul 6, 2010
1 parent 60e8237 commit e64988b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/com/mongodb/DBPort.java
Expand Up @@ -130,6 +130,7 @@ void _open()
IOException lastError = null;

try {
_authed.clear();
_socket = new Socket();
_socket.connect( _addr , _options.connectTimeout );

Expand Down

0 comments on commit e64988b

Please sign in to comment.