ソースを参照

* Fix SSL connections breaking future server connections when they fail

Bryan Drewery 16 年 前
コミット
ccfd10b731
1 ファイル変更1 行追加0 行削除
  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;
       }