Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
94b1155e
Commit
94b1155e
authored
Jul 28, 2015
by
Guus der Kinderen
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #260 from tevans/OF-903
OF-903: Simplify backup packet delivery
parents
5e3f4161
477aee88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
NIOConnection.java
src/java/org/jivesoftware/openfire/nio/NIOConnection.java
+1
-9
No files found.
src/java/org/jivesoftware/openfire/nio/NIOConnection.java
View file @
94b1155e
...
...
@@ -312,15 +312,7 @@ public class NIOConnection implements Connection {
public
void
deliver
(
Packet
packet
)
throws
UnauthorizedException
{
if
(
state
!=
State
.
RUNNING
)
{
// OF-857: Do not allow the backup deliverer to recurse
if
(
backupDeliverer
==
null
)
{
Log
.
error
(
"Failed to deliver packet: "
+
packet
.
toXML
());
throw
new
IllegalStateException
(
"Connection closed"
);
}
// attempt to deliver via backup only once
PacketDeliverer
backup
=
backupDeliverer
;
backupDeliverer
=
null
;
backup
.
deliver
(
packet
);
backupDeliverer
.
deliver
(
packet
);
}
else
{
boolean
errorDelivering
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment