File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public class UpdateChecker
15
15
private static Logger logger = LogManager . GetCurrentClassLogger ( ) ;
16
16
17
17
private const string UpdateURL = "https://api.github.com/repos/shadowsocks/shadowsocks-windows/releases" ;
18
- private const string UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72 .0.3626.121 Safari/537.36" ;
18
+ private const string UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85 .0.4183.83 Safari/537.36" ;
19
19
20
20
private Configuration config ;
21
21
public bool NewVersionFound ;
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public void EndConnectProxy(IAsyncResult asyncResult)
70
70
"CONNECT {0} HTTP/1.1" + HTTP_CRLF +
71
71
"Host: {0}" + HTTP_CRLF +
72
72
"Proxy-Connection: keep-alive" + HTTP_CRLF +
73
- "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72 .0.3626.121 Safari/537.36" + HTTP_CRLF +
73
+ "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85 .0.4183.83 Safari/537.36" + HTTP_CRLF +
74
74
"{1}" + // Proxy-Authorization if any
75
75
"" + HTTP_CRLF ; // End with an empty line
76
76
private const string PROXY_AUTH_TEMPLATE = "Proxy-Authorization: Basic {0}" + HTTP_CRLF ;
You can’t perform that action at this time.
0 commit comments