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
3ba467df
Commit
3ba467df
authored
Dec 23, 2014
by
Dave Cridland
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #146 from tevans/OF-629
OF-629: Here Lies XMPP Session
parents
90b70fca
da82ca9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
HttpSession.java
src/java/org/jivesoftware/openfire/http/HttpSession.java
+1
-0
LocalClientSession.java
...org/jivesoftware/openfire/session/LocalClientSession.java
+1
-1
No files found.
src/java/org/jivesoftware/openfire/http/HttpSession.java
View file @
3ba467df
...
...
@@ -178,6 +178,7 @@ public class HttpSession extends LocalClientSession {
Element
session
=
DocumentHelper
.
createElement
(
new
QName
(
"session"
,
new
Namespace
(
""
,
"urn:ietf:params:xml:ns:xmpp-session"
)));
session
.
addElement
(
"optional"
);
elements
.
add
(
session
);
return
elements
;
}
...
...
src/java/org/jivesoftware/openfire/session/LocalClientSession.java
View file @
3ba467df
...
...
@@ -804,7 +804,7 @@ public class LocalClientSession extends LocalSession implements ClientSession {
// If the session has been authenticated then offer resource binding
// and session establishment
sb
.
append
(
"<bind xmlns=\"urn:ietf:params:xml:ns:xmpp-bind\"/>"
);
sb
.
append
(
"<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"
/
>"
);
sb
.
append
(
"<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"
><optional/></session
>"
);
}
return
sb
.
toString
();
}
...
...
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