mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
11.18.2009 aa62a3550f96cac31d081254169939a46c9a387d
refs
author gbellato <gbellato@localhost>
Thursday, June 11, 2009 15:18 +0200
committer gbellato <gbellato@localhost>
Thursday, June 11, 2009 15:18 +0200
commitaa62a3550f96cac31d081254169939a46c9a387d
tree 99b4bb231ae7521baeb07c1b7824734cf3892e84 tree | zip | gz
parent ee8d249f2d1f0c6d45faa9edaa34c1f8cd155ddc view | diff
While investigating issue 4046 I've noticed that in case of an error during the
SSL handshake that is used for the authentication of the replication session
the associated socket is not correctly closed by the replication code.
The socket therefore is left open and the associated resources are never free.

This change fix this problem.
It will not solve the root cause of the 4046 issue but will help to keep the server
running by avoiding to consume of the process resources.

The issue 3713 might also be related to this problem because the symptoms are
similar.
2 files modified
40 ■■■■■ changed files
opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java 10 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 30 ●●●● diff | view | raw | blame | history