浏览代码

Setting reliable to false by default

ericz 11 年之前
父节点
当前提交
b474a4cba6
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      dist/peer.js
  2. 0 0
      dist/peer.min.js
  3. 1 1
      lib/dataconnection.js

+ 1 - 1
dist/peer.js

@@ -1696,7 +1696,7 @@ function DataConnection(peer, provider, options) {
   // TODO: perhaps default serialization should be binary-utf8?
   this.options = util.extend({
     serialization: 'binary',
-    reliable: true
+    reliable: false
   }, options);
 
   // Connection is not open yet.

文件差异内容过多而无法显示
+ 0 - 0
dist/peer.min.js


+ 1 - 1
lib/dataconnection.js

@@ -8,7 +8,7 @@ function DataConnection(peer, provider, options) {
   // TODO: perhaps default serialization should be binary-utf8?
   this.options = util.extend({
     serialization: 'binary',
-    reliable: true
+    reliable: false
   }, options);
 
   // Connection is not open yet.

部分文件因为文件数量过多而无法显示