- 08 Jun, 2015 1 commit
-
-
Dave Cridland authored
There is a deadlock while reading the state variable if close() is running. This switches the state to be volatile instead - it's only written to inside the lengthy close() lock, so this should be reasonable.
-
- 31 May, 2015 2 commits
-
-
Dave Cridland authored
Openfire 3.10.1 Release Candidate
-
akrherz authored
-
- 29 May, 2015 5 commits
-
-
Guus der Kinderen authored
By closing a session when the new MINA inputClosed() handler is triggered, we run the risk of sending data to the peer. As that peer is known to be dead, this is pointless (and potentially dangerous - deadlocks have been observed that are likely related to this scenario). To prevent sending data during session closure, the close() method has been overloaded with an argument that indicates if the peer is known to be dead. When set, its implementation will not attempt to send data.
-
Dave Cridland authored
Currently, only stanzas containing errors of type cancel will cause the occupant to be removed, however this doesn't appear to catch and remove many occupants in practise. This patch therefore removes occupants from the service on any message or presence error stanza, irrespective of the error type. IQ stanzas do not trigger the same response, as these may be due to lack of client support rather than a vanished occupant.
-
Guus der Kinderen authored
The close listeners should not be called from within a synchronized block.
-
Guus der Kinderen authored
When a connection is closed, several events can be involved (and can be triggered). Some of these events will attempt to close the connection (if it hadn't been already). This, at best, least to multiple invocations of close-listeners. At worst, a loop of close-calls is created. This commit replaces the two-way boolean that guards closure (isClosed) with a three-way guard. Now, a distinction is made between between a connection that is closed, and one that is closing. Additionally, some null pointer guards have been added, as I've seen those pop up in my local logs during development.
-
Guus der Kinderen authored
-
- 28 May, 2015 3 commits
-
-
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.
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
- 01 May, 2015 3 commits
-
-
Sven Bunge authored
-
Dave Cridland authored
-
Dave Cridland authored
OF-909: Include ack in BOSH response body element
-
- 29 Apr, 2015 2 commits
- 26 Apr, 2015 1 commit
-
-
akrherz authored
-
- 25 Apr, 2015 1 commit
-
-
Guus der Kinderen authored
-
- 21 Apr, 2015 1 commit
-
-
Dave Cridland authored
Openfire 3.10.0 GA Release!
-
- 20 Apr, 2015 1 commit
-
-
akrherz authored
-
- 10 Apr, 2015 3 commits
-
-
daryl herzmann authored
Mark Openfire 3.10.0 Release Candidate
-
akrherz authored
-
Dave Cridland authored
Change OF-888 fix to be based on error
-
- 09 Apr, 2015 1 commit
-
-
Dave Cridland authored
OF-888 is presumed to be a recursion due to an attempt to bounce a bounce, in other words it's failing to handle a double-bounce. It appears to be caused when routing a stanza from a MUC fails, and for some reason I don't yet understand, the routing of the bounce to the originating MUC source also fails. The test for the double bounce is only present for the IQ case, but this fails in any case because it tests only for the IQ case, and uses a test which checks the IQ's symbolic type; this is not actually set by Packet.setError(), so does not trigger. Tom's fix inserted a sentinel into the original failing stanza, however a new stanza is created for the bounce, which will not contain the sentinel; therefore the fix will not protect from a recursion. Therefore this patch: 1) Removes Tom's fix for OF-888. 2) Tests for the message and presence error types. 3) Tests for the presence of a stanza error (though this is a warning). 4) Explicitly sets the stanza error type.
-
- 07 Apr, 2015 2 commits
-
-
daryl herzmann authored
OF-901 update install4j windows bundled JRE to 1.7.0u76
-
akrherz authored
-
- 20 Mar, 2015 12 commits
-
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
daryl herzmann authored
OF-895 Update bundled PostgreSQL driver to 9.4-1201 JDBC4 (build 1201)
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
akrherz authored
Note: this is java 1.6+ compat
-
Guus der Kinderen authored
-
Guus der Kinderen authored
-
- 13 Mar, 2015 2 commits
-
-
daryl herzmann authored
ofmeet version Added focus username and password to the admin settings page
-
Dele Olajide authored
Bumped realase date
-