Commit 84ffbaa9 authored by Nikola Hardi's avatar 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
......@@ -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!");
}
}
......
......@@ -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);
......
......@@ -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 = true;
use_ipv6 = false;
current_position = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment