Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 35aa060

Browse files
committed
websocketのTLSのバージョンを1.2にした
1 parent 2adfd33 commit 35aa060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Common/Websocket.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public Task ReceiveAsync(string url)
2929
var tcs = new TaskCompletionSource<object>();
3030
_tcs = tcs;
3131
var cookies = new List<KeyValuePair<string, string>>();
32-
var ws = new WebSocket(url, SubProtocol, cookies, null, UserAgent, Origin)
32+
var ws = new WebSocket(url, SubProtocol, cookies, null, UserAgent, Origin,WebSocketVersion.None,null,System.Security.Authentication.SslProtocols.Tls12)
3333
{
3434
EnableAutoSendPing = EnableAutoSendPing,
3535
AutoSendPingInterval = AutoSendPingInterval,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /