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

gbellato
11.18.2009 e20185c8ae5d893e54e4caa6a0a98c729e6acf54
refs
author gbellato <gbellato@localhost>
Thursday, June 11, 2009 15:18 +0200
committer gbellato <gbellato@localhost>
Thursday, June 11, 2009 15:18 +0200
commite20185c8ae5d893e54e4caa6a0a98c729e6acf54
tree a5af050a0ff65751baca27b40b344b8ab19566cb tree | zip | gz
parent ce958a9244d230e33a8395ab032ea109c2abfb71 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
opendj-sdk/opends/src/server/org/opends/server/controls/ExternalChangelogRequestControl.java 10 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 30 ●●●● diff | view | raw | blame | history