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
a5f89504
Commit
a5f89504
authored
Oct 30, 2015
by
akrherz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-966 <failure> tag not closed for TLS Negotitation Failure
parent
52dfe9ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SocketReadingMode.java
...java/org/jivesoftware/openfire/net/SocketReadingMode.java
+1
-1
StanzaHandler.java
src/java/org/jivesoftware/openfire/net/StanzaHandler.java
+1
-1
No files found.
src/java/org/jivesoftware/openfire/net/SocketReadingMode.java
View file @
a5f89504
...
...
@@ -86,7 +86,7 @@ abstract class SocketReadingMode {
}
catch
(
IOException
e
)
{
Log
.
error
(
"Error while negotiating TLS: "
+
socketReader
.
connection
,
e
);
socketReader
.
connection
.
deliverRawText
(
"<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\">"
);
socketReader
.
connection
.
deliverRawText
(
"<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"
/
>"
);
socketReader
.
connection
.
close
();
return
false
;
}
...
...
src/java/org/jivesoftware/openfire/net/StanzaHandler.java
View file @
a5f89504
...
...
@@ -420,7 +420,7 @@ public abstract class StanzaHandler {
}
catch
(
Exception
e
)
{
Log
.
error
(
"Error while negotiating TLS"
,
e
);
connection
.
deliverRawText
(
"<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\">"
);
connection
.
deliverRawText
(
"<failure xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"
/
>"
);
connection
.
close
();
return
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