Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Dehm
briar
Commits
da8b49be
Commit
da8b49be
authored
Aug 22, 2018
by
Torsten Grote
Browse files
Merge branch 'log-relay-names' into 'master'
Log Tor relay names to detect failing bridges See merge request
briar/briar!901
parents
a5271eee
6c8cc79d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bramble-core/src/main/java/org/briarproject/bramble/plugin/tor/TorPlugin.java
View file @
da8b49be
...
@@ -578,7 +578,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
...
@@ -578,7 +578,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
@Override
@Override
public
void
orConnStatus
(
String
status
,
String
orName
)
{
public
void
orConnStatus
(
String
status
,
String
orName
)
{
if
(
LOG
.
isLoggable
(
INFO
))
LOG
.
info
(
"OR connection "
+
status
);
if
(
LOG
.
isLoggable
(
INFO
))
LOG
.
info
(
"OR connection "
+
status
+
" "
+
orName
);
if
(
status
.
equals
(
"CLOSED"
)
||
status
.
equals
(
"FAILED"
))
{
if
(
status
.
equals
(
"CLOSED"
)
||
status
.
equals
(
"FAILED"
))
{
// Check whether we've lost connectivity
// Check whether we've lost connectivity
updateConnectionStatus
(
networkManager
.
getNetworkStatus
());
updateConnectionStatus
(
networkManager
.
getNetworkStatus
());
...
...
Write
Preview
Supports
Markdown
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