Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn-ROOT
Commits
84ffbaa9
Commit
84ffbaa9
authored
Jun 17, 2019
by
Nikola Hardi
Browse files
Fix the connection status and temporarily disable IPv6
parent
7b127b69
Pipeline
#922594
passed with stage
in 1 minute and 51 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
TJAlien.cxx
View file @
84ffbaa9
...
...
@@ -145,7 +145,7 @@ void TJAlien::ConnectJBox()
if
(
jcf
.
isValid
)
{
MakeWebsocketConnection
(
c
,
(
string
)
jcf
.
fHost
,
jcf
.
fWSPort
);
}
else
{
Info
(
"TJAlien"
,
"The JClient file is not valid - not connecting to JBox!"
);
if
(
gDebug
>=
1
)
Info
(
"TJAlien"
,
"The JClient file is not valid - not connecting to JBox!"
);
}
}
...
...
TJAlien.h
View file @
84ffbaa9
...
...
@@ -164,6 +164,10 @@ public:
void
Stderr
();
// print the stderr of the last executed command
void
Token
(
Option_t
*
options
=
""
,
bool
force_restart
=
true
);
//--- Redefinition of superclass methods
virtual
Bool_t
IsConnected
()
const
{
return
connection_flag
;
}
//--- Catalogue Interface
virtual
TGridResult
*
Ls
(
const
char
*
ldn
=
""
,
Option_t
*
options
=
""
,
Bool_t
verbose
=
kFALSE
);
virtual
Bool_t
Cd
(
const
char
*
ldn
=
""
,
Bool_t
verbose
=
kFALSE
);
...
...
TJAlienDNSResolver.cxx
View file @
84ffbaa9
...
...
@@ -62,7 +62,7 @@ vector<string> TJAlienDNSResolver::get_addr(const char *host, const char *port,
void
TJAlienDNSResolver
::
reset
()
{
addr_ipv4
=
get_addr
(
host
.
c_str
(),
port
.
c_str
(),
4
);
addr_ipv6
=
get_addr
(
host
.
c_str
(),
port
.
c_str
(),
6
);
use_ipv6
=
tru
e
;
use_ipv6
=
fals
e
;
current_position
=
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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