Ver Fonte

* Fix SSL connections breaking future server connections when they fail

Bryan Drewery há 16 anos atrás
pai
commit
ccfd10b731
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/mod/server.mod/servmsg.c

+ 1 - 0
src/mod/server.mod/servmsg.c

@@ -2031,6 +2031,7 @@ static void server_dns_callback(int id, void *client_data, const char *host, bd:
     if (ssl_use) { /* kyotou */
       if (net_switch_to_ssl(serv) == 0) {
         putlog(LOG_SERV, "*", "SSL Failed to connect to %s (Error while switching to SSL)", dcc[servidx].host);
+        trying_server = 0;
         lostdcc(servidx);
         return;
       }