diff options
Diffstat (limited to 'js/src/Ice/browser/WSTransceiver.js')
-rw-r--r-- | js/src/Ice/browser/WSTransceiver.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/Ice/browser/WSTransceiver.js b/js/src/Ice/browser/WSTransceiver.js index 0a7052a16d7..e0a16ed45cb 100644 --- a/js/src/Ice/browser/WSTransceiver.js +++ b/js/src/Ice/browser/WSTransceiver.js @@ -293,12 +293,18 @@ var WSTransceiver = Ice.Class({ info.localPort = -1; info.remoteAddress = this._addr.host; info.remotePort = this._addr.port; + info.rcvSize = -1; + info.sndSize = this._maxSendPacketSize; info.headers = {}; return info; }, checkSendSize: function(stream) { }, + setBUfferSze: function(rcvSize, sndSize) + { + this._maxSendPacketSize = sndSize; + }, toString: function() { return this._desc; |