Explorar el Código

* Fix SSL connections breaking future server connections when they fail

Bryan Drewery hace 16 años
padre
commit
ccfd10b731
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
       }