mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 03:58:55 +00:00
refactor(streamdata): use readonly headers list in probe resolver
This commit is contained in:
parent
3c475352fe
commit
d2c7ee7c72
@ -373,7 +373,7 @@ namespace LME.JackTor.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
private (List<HeadersModel> headers, string host) ResolveProbeTorrentServer(JackTorSettings init, string account_email)
|
||||
private (IReadOnlyList<HeadersModel> headers, string host) ResolveProbeTorrentServer(JackTorSettings init, string account_email)
|
||||
{
|
||||
if ((init.torrs == null || init.torrs.Length == 0) && (init.auth_torrs == null || init.auth_torrs.Count == 0))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user