1. 04 Feb, 2015 2 commits
  2. 03 Feb, 2015 2 commits
  3. 30 Jan, 2015 2 commits
  4. 29 Jan, 2015 3 commits
  5. 28 Jan, 2015 3 commits
  6. 27 Jan, 2015 2 commits
  7. 26 Jan, 2015 2 commits
  8. 20 Jan, 2015 3 commits
  9. 17 Jan, 2015 2 commits
  10. 16 Jan, 2015 6 commits
  11. 14 Jan, 2015 1 commit
  12. 13 Jan, 2015 2 commits
    • Tom Evans's avatar
      OF-857: Added offline packet deliverer · 9205a2f1
      Tom Evans authored
      When a connection is closed, any further packets to be delivered need to
      be handled by the "backup" packet deliverer. The original implementation
      simply tried to reuse the primary delivery/routing mechanism, which
      resulted in a recursive call. This has been replaced with a packet
      deliverer that will route undeliverable message packets into the offline
      store.
      9205a2f1
    • Tom Evans's avatar
      OF-857: Mark connection closed before notifying · 4c4949eb
      Tom Evans authored
      The connection close listener initiates a presence broadcast to
      advertise its "unavailable" status. The current connection must be
      marked closed before this occurs, so the presence stanza will not be
      delivered to the newly closed connection.
      
      Note that the synchronized block alone does not accomplish this because
      the presence broadcast is delivered via that same thread that is
      currently closing the connection, thus it already possesses the sync
      object lock.
      
      Also, note that the SessionManager should exclude the originating JID
      when sending presence broadcasts to the user's other available
      session(s).
      4c4949eb
  13. 12 Jan, 2015 3 commits
  14. 11 Jan, 2015 5 commits
    • Florian Schmaus's avatar
      Use ReentrackLock instead of Semaphore · 4158dd77
      Florian Schmaus authored
      Also decrease the size of the critical section the lock protects.
      
      Related to OF-857.
      4158dd77
    • Florian Schmaus's avatar
      Make conn final in LocalSession · 7bbfb9db
      Florian Schmaus authored
      and remove null checks.
      
      Related to OF-855.
      7bbfb9db
    • Tom Evans's avatar
      OF-863: Fix multiple NPEs in cluster mode · b1599c97
      Tom Evans authored
      This patch fixes several NullPointerExceptions that were observed in an
      cluster when running under high load and latency, including related
      issues in the BOSH connector and hazelcast plugin. Some related logging
      improvements are also included.
      
      Some of the NPEs were generated during the startup phase before the
      server was fully initialized. These have been corrected by checking
      appropriate "ready state" indicators.
      
      In general, sessions hosted in remote cluster nodes that cannot be
      addressed due to timeouts during remote task execution should be
      considered temporarily "unavailable" to the cluster member that
      initiated the call.
      b1599c97
    • Tom Evans's avatar
      OF-855: Ensure valid connection for session packets · b2c6447d
      Tom Evans authored
      Check the underlying connection for a given session before delivering a
      packet; if the connection is missing, clean up session and resend packet
      b2c6447d
    • Tom Evans's avatar
      OF-857: Synchronize I/O for C2S connection · 64c735bc
      Tom Evans authored
      Use a lock to ensure the integrity of IoSession (MINA), especially when
      using compression or TLS filters
      64c735bc
  15. 10 Jan, 2015 1 commit
  16. 07 Jan, 2015 1 commit