GitHub user ppalaga opened a pull request: https://github.com/apache/mina/pull/12
A reproducer for DIRMINA-1067 checkClientTrusted() invoked just once on IBM JRE You can merge this pull request into a Git repository by running: $ git pull https://github.com/ppalaga/mina DIRMINA-1067 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/mina/pull/12.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12 ---- commit 1223863fdcba6848db3ee9f2e381f45df75ef999 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-05T18:16:24Z Release the In and Out net buffer when we get a SSLException (DIRMINA-968). Note : we don't have a test case to reproduce the issue, so it's a kind of blind attempt to solve it. commit e0da8d7fdecf9d412063089b860a960caa0795bf Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-06T20:21:46Z Fix for DIRMINA-629 : used a lock around all the methods to avoid concurrent issues. Removed the AtomicXXX which are not anymore useful. commit 5ffd8c02a8ffcb4671d3db80598a851143f79d6f Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-06T21:04:04Z Added some information to the error message when we try to bind (socketAddress) See DIRMINA-825 commit 67240409a2537972d6998f26ed83d99265a6de09 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-07T05:01:23Z Had to intialize the cause outside of the constructor to please Java 5 (no constructor with the message and the cause in Java5) commit de58078ce2139cffbec84da63b5030e77e592dac Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-07T06:32:23Z o Added a thread to cleanup the expired sessions o Used ConcurrentHshMap instead of SynchronizedMap o Added a lock to be sure we don't have concurrent access to the map (it's needed even if the map is protected against concurrent access, as we update the map in different places) This filter is an example of what should *not* be accepted in out code base... commit faa8e58e11a3fa50e5169f6f9c1119d275199fec Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-07T07:48:42Z Accept addresses like 0.0.0.0 or :: (IPV4 and IPV6)in the inSubnet() method (see DIRMINA-773) commit 9d7d823edacede56813674b94cba2ae65977426f Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-07T12:22:06Z o Added some info when a IOException occurs (DIRMINA-825) o Close the channel when we get an IOException (DIRMINA-928) commit 3852d253911a7ad666605a230e27debf4b4bd56d Author: Jeff MAURY <jeffma...@apache.org> Date: 2014-09-07T15:23:53Z Added a test for DIRMINA-777 commit 9645bc04739faa55f1aae396fb42d5221f5efddd Author: Jeff MAURY <jeffma...@apache.org> Date: 2014-09-07T16:28:46Z Backporting DIRMINA-931 to 2.0 commit ccbf33f9457bd7ecc3376928ee8bdf8687afa09d Author: Jeff MAURY <jeffma...@apache.org> Date: 2014-09-07T16:38:53Z Add Informational status codes commit 81f55c8f6de1a73c2f999fd4cf20546fd54c09a0 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-07T19:35:31Z Moved the increaseWrittenMessages method to the TailFilter (See DIRMINA-631) commit 1781aab8d06a1b60e7e90386dd9aa1dee816a4d2 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-08T08:18:14Z Avoided to loop from 1 to 1024, as we will never run this test under a priviledged user. commit 3cf5bcdc800db329400193f24afa0613b7d3178e Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-08T08:42:05Z Added the supported ciphers in the SSLHandler (see DIRMINA-760) commit d500b2e9727675abe9c325da7587b20dcaf95890 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-08T10:28:23Z Sadly, the getSupportedSSLParameters() method is not available in Java 5. Used getServerSocketFactory().getSupportedCipherSuites() instead. commit 478a8a87de9128bdbbc6d38c8b320d769f5d1441 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-08T12:13:09Z Called the statistic updateThroughput metho din the TailFilter, so that the user don't have to do it. See DIRMINA-967 commit 5955d7281936d97f5ca39d9619692f05e48140d9 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-08T15:18:47Z Added a destroy(session), as suggested in DIRMINA-942 commit 3ebfb8c09444ce5dc7cd68d673df7c7f11f38503 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-09T05:33:40Z Printed out the sent message (we were getting an empty byte before). That will fix DIRMINA-833 commit ba995db5e653307dd0bf6dc7ba5deeb903f83366 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-09T05:42:24Z Made teh AttributeKey ENCODER and DECODER static, so that we don't create them everytime we instanciate the ProtocolCodecFIlter (see DIRMINA-838) commit 64c80b9044fe1ec1c976d8022411d25f923aebd2 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T09:27:02Z Added a printstacktrace when we get a ClosedSelectorException (DIRMINA-978) commit 2cb34e5389c552603d77648cc852692a3c3ed728 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T09:29:31Z Replaced the printStacktrace by a call to exceptionCaught() commit 46f929204de3efa24ceffd2e87838eb85005d194 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T12:40:59Z Added the localAddress in the NioSocketConnector (DIRMINA-816) commit dd83fecdbb85fdd2276a350e509f91aa12e9e3ce Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T14:40:30Z Added support of IPV6 for the BlackListFilter commit 53ab404aed6e5b50f42c91ff6289e0c73d553181 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T14:40:30Z Calling the preAdd and postAdd in the replace methods. See DIRMINA-977 commit 691c418312ce9445721a71cac2b2771e3555ad88 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-10T22:13:09Z Merge branch '2.0' of http://git-wip-us.apache.org/repos/asf/mina into 2.0 commit 56a6e58004ea4a6af5640f03d1f6796a073c5d62 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T06:17:04Z Added a lock, instead of synchrnizing teh whole section. We now prtect the write and read as a whole (that should be a fix for DIRMINA-779) commit af34f5087926b6e44c62033567123244cabed1f8 Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T07:31:06Z Applied the suggested patch from DIRMINA-972 commit 1c95e0ddfce293abaa0821ebecba17ab84951fed Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T13:58:03Z Don't catch Throwable. Catch Exception only (DIRMINA-941) commit 232bff322f0278f614b8b35545655d94465b9e7a Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T15:38:12Z Stip catching Throwable. Replaced by catch (Exception e) all over the code (except in DefaultIoFilterChain). See DIRMINA-941 commit 404352c427a92efb2b80d2e5b7d5bb84693c7a7c Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T15:49:45Z Some more catch (Throwable) replaced by catch (Exception) commit f04184d9f2ddb9694a38dbd183af7ebcec538e1e Author: Emmanuel Lécharny <elecha...@symas.com> Date: 2014-09-11T16:43:35Z Added the sessionClosed event in the IoServiceListener. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---