瀏覽代碼

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.

部分文件因文件數量過多而無法顯示