We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a3011 commit 9229104Copy full SHA for 9229104
lib/src/transports/websocket_dart_impl.dart
@@ -65,7 +65,7 @@ class WebSocketImpl {
65
int port, WebSocketSettings webSocketSettings) async {
66
try {
67
var r = new Random();
68
- var key = base64.encode(List<int>.generate(8, (_) => r.nextInt(255)));
+ var key = base64.encode(List<int>.generate(16, (_) => r.nextInt(255)));
69
var securityContext = new SecurityContext();
70
var client = HttpClient(context: securityContext);
71
0 commit comments