1. 17 Jun, 2015 4 commits
  2. 15 Jun, 2015 6 commits
  3. 11 Jun, 2015 1 commit
  4. 10 Jun, 2015 4 commits
  5. 07 Jun, 2015 2 commits
  6. 03 Jun, 2015 2 commits
  7. 02 Jun, 2015 1 commit
  8. 29 May, 2015 11 commits
  9. 28 May, 2015 2 commits
    • Dave Cridland's avatar
      Merge pull request #219 from guusdk/OF-883 · 49a4799f
      Dave Cridland authored
      OF-883: Compensate for new half-duplex close of TCP channel in MINA
      49a4799f
    • Guus der Kinderen's avatar
      OF-883: Compensate for new half-duplex close of TCP channel in MINA · be6ee20f
      Guus der Kinderen authored
      MINA 2.0.8 introduces support for half-duplex close of TCP channels (see DIRMINA-785).
      As part of this change, IoHandlers got a new method. The default behavior of the
      IoHandlerAdapter closes the MINA session when this handler is triggered. However,
      without an Openfire-specific extension (in ConnectionHandler), this fails to close
      Openfire-maintained resources. As a result, CPUs could start to spin in NIO code,
      resulting in 100% CPU cycles.
      
      To fix this issue, ConnectionHandler now overrides the default functionality and
      triggers a normal closure of the session (both in Openfire as well as MINA context).
      
      Additionally, to prevent the CPU spin, MINA sessions need to be closed synchronously
      (as opposed to the async closure Openfire had up until now). I cannot quite explain
      the need for this change, other than a suspision of race conditions in the async
      setup.
      be6ee20f
  10. 26 May, 2015 3 commits
  11. 20 May, 2015 2 commits
  12. 15 May, 2015 2 commits