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
a0fba82c
Commit
a0fba82c
authored
Apr 10, 2014
by
Dele Olajide
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/igniterealtime/Openfire
parents
5d005e91
8e1ae42d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
openfire.spec
build/rpm/openfire.spec
+1
-0
LocalOutgoingServerSession.java
...software/openfire/session/LocalOutgoingServerSession.java
+2
-2
No files found.
build/rpm/openfire.spec
View file @
a0fba82c
...
...
@@ -113,6 +113,7 @@ exit 0
%{homedir}/bin/embedded-db-viewer.sh
%dir %{homedir}/conf
%config(noreplace) %{homedir}/conf/openfire.xml
%config(noreplace) %{homedir}/conf/security.xml
%config(noreplace) %{homedir}/conf/crowd.properties
%dir %{homedir}/lib
%{homedir}/lib/*.jar
...
...
src/java/org/jivesoftware/openfire/session/LocalOutgoingServerSession.java
View file @
a0fba82c
...
...
@@ -446,7 +446,7 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing
String
id
=
xpp
.
getAttributeValue
(
""
,
"id"
);
// Get new stream features
features
=
reader
.
parseDocument
().
getRootElement
();
if
(
features
!=
null
&&
(
features
.
element
(
"mechanisms"
)
!=
null
||
features
.
element
(
"dialback"
)
!=
null
)
)
{
if
(
features
!=
null
)
{
// Check if we can use stream compression
String
policyName
=
JiveGlobals
.
getProperty
(
"xmpp.server.compression.policy"
,
Connection
.
CompressionPolicy
.
disabled
.
toString
());
Connection
.
CompressionPolicy
compressionPolicy
=
Connection
.
CompressionPolicy
.
valueOf
(
policyName
);
...
...
@@ -486,7 +486,7 @@ public class LocalOutgoingServerSession extends LocalSession implements Outgoing
}
// Get new stream features
features
=
reader
.
parseDocument
().
getRootElement
();
if
(
features
==
null
||
features
.
element
(
"mechanisms"
)
==
null
)
{
if
(
features
==
null
)
{
log
.
debug
(
"Error, EXTERNAL SASL was not offered."
);
return
null
;
}
...
...
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