shadowsocks / shadowsocks-windows

A C# port of shadowsocks
Other
58.09k stars 16.4k forks source link

修复httpClient多次添加ua,删除该部分try #3387

Closed reece00 closed 6 months ago

reece00 commented 1 year ago

What is the purpose of your pull request?


Description of your pull request and other information

修复#3360 删除try部分,httpClient.DefaultRequestHeaders.Add不会因为值产生异常,try重置值没有意义,