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
4866cd46
Commit
4866cd46
authored
Oct 30, 2015
by
akrherz
Committed by
Christian Schudt
Nov 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-966 <failure> tag not closed for TLS Negotitation Failure
parent
66f6a822
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 @
4866cd46
...
@@ -86,7 +86,7 @@ abstract class SocketReadingMode {
...
@@ -86,7 +86,7 @@ abstract class SocketReadingMode {
}
}
catch
(
IOException
e
)
{
catch
(
IOException
e
)
{
Log
.
error
(
"Error while negotiating TLS: "
+
socketReader
.
connection
,
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
();
socketReader
.
connection
.
close
();
return
false
;
return
false
;
}
}
...
...
src/java/org/jivesoftware/openfire/net/StanzaHandler.java
View file @
4866cd46
...
@@ -404,7 +404,7 @@ public abstract class StanzaHandler {
...
@@ -404,7 +404,7 @@ public abstract class StanzaHandler {
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
Log
.
error
(
"Error while negotiating TLS"
,
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
();
connection
.
close
();
return
false
;
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