Skip to content

Commit 021e84e

Browse files
committed
更新注释
1 parent 9fe891d commit 021e84e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Demo/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ static async void ScanProxy()
3636
Interlocked.Increment(ref totalProxyCount);
3737
if (await ProxyValidator.ValidateAsync(p, target, TimeSpan.FromMilliseconds(500d)) == HttpStatusCode.OK)
3838
{
39-
Console.WriteLine($"扫描到代理服务:{p.Host}:{p.Port}");
39+
Console.WriteLine($"{DateTime.Now.ToString("HH:mm:ss.fff")}:扫描到代理服务:{p}");
4040
}
4141
var completed = Interlocked.Increment(ref completedProxyCount);
42-
Console.Title = $"扫描进度{completed}/{Interlocked.Read(ref totalProxyCount)}";
42+
Console.Title = $"代理扫描进度{completed}/{Interlocked.Read(ref totalProxyCount)}";
4343
});
4444
await Task.WhenAll(tasks);
4545
}

WebApiClient/HttpProxy.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ public override string ToString()
217217
return $"http://{this.Host}:{this.Port}/";
218218
}
219219

220-
221220
/// <summary>
222-
/// 生成http代理服务器范围
221+
/// 指定ip范围构建http代理服务
223222
/// </summary>
224223
/// <param name="start">代理服务器起始ip</param>
225224
/// <param name="port">代理服务器端口</param>

0 commit comments

Comments
 (0)