|
|
|
@ -112,9 +112,7 @@ import net.yacy.cora.order.NaturalOrder;
|
|
|
|
|
import net.yacy.cora.protocol.ClientIdentification;
|
|
|
|
|
import net.yacy.cora.protocol.ConnectionInfo;
|
|
|
|
|
import net.yacy.cora.protocol.Domains;
|
|
|
|
|
import net.yacy.cora.protocol.HeaderFramework;
|
|
|
|
|
import net.yacy.cora.protocol.RequestHeader;
|
|
|
|
|
import net.yacy.cora.protocol.ResponseHeader;
|
|
|
|
|
import net.yacy.cora.protocol.TimeoutRequest;
|
|
|
|
|
import net.yacy.cora.protocol.ftp.FTPClient;
|
|
|
|
|
import net.yacy.cora.protocol.http.HTTPClient;
|
|
|
|
@ -3901,7 +3899,7 @@ public final class Switchboard extends serverSwitch {
|
|
|
|
|
mySeed.setLastSeenUTC();
|
|
|
|
|
mySeed.put(Seed.UTC, GenericFormatter.UTCDiffString());
|
|
|
|
|
mySeed.setFlagAcceptRemoteCrawl(getConfigBool(SwitchboardConstants.CRAWLJOB_REMOTE, false));
|
|
|
|
|
mySeed.setFlagAcceptRemoteIndex(getConfigBool("allowReceiveIndex", true));
|
|
|
|
|
mySeed.setFlagAcceptRemoteIndex(getConfigBool(SwitchboardConstants.INDEX_RECEIVE_ALLOW, true));
|
|
|
|
|
mySeed.setFlagSSLAvailable(this.getHttpServer() != null && this.getHttpServer().withSSL() && getConfigBool("server.https", false));
|
|
|
|
|
if (mySeed.getFlagSSLAvailable()) mySeed.put(Seed.PORTSSL, Integer.toString(getPublicPort("port.ssl", 8443)));
|
|
|
|
|
|
|
|
|
|