mirror of
https://github.com/leiurayer/downkyi.git
synced 2024-04-21 12:41:55 +00:00
解决问题 SSL/TLS handshake failure
This commit is contained in:
@@ -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}\" " +
|
||||
|
||||
Reference in New Issue
Block a user