解决问题 SSL/TLS handshake failure

pull/409/head
leiurayer 3 years ago
parent dccbd771c2
commit a8ac5cea9b

@ -36,11 +36,11 @@ namespace DownKyi.Core.Aria2cNet.Client.Entity
[JsonProperty("dir")]
public string Dir { get; set; }
[JsonProperty("header")]
public string Header { get; set; }
//[JsonProperty("header")]
//public string Header { get; set; }
[JsonProperty("use-head")]
public string UseHead { get; set; }
//[JsonProperty("use-head")]
//public string UseHead { get; set; }
[JsonProperty("user-agent")]
public string UserAgent { get; set; }

@ -90,6 +90,7 @@ namespace DownKyi.Core.Aria2cNet.Server
ExcuteProcess("aria2c.exe",
$"--enable-rpc --rpc-listen-all=true --rpc-allow-origin-all=true " +
$"--check-certificate=false " + // 解决问题 SSL/TLS handshake failure
$"--rpc-listen-port={config.ListenPort} " +
$"--rpc-secret={config.Token} " +
$"--input-file=\"{sessionFile}\" --save-session=\"{sessionFile}\" " +

Loading…
Cancel
Save