Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++. r=lennart.grahl+594092 a=gchang
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Mon, 18 Dec 2017 23:07:46 -0800
changeset 445414 4aaa982ec14eee08d9fb59dca66aab2153d387c5
parent 445413 6c4bbf9fb6456322be0a635135f2b8dad6e77ca4
child 445415 a9eef658495137795554a5a2e14e867a02517bab
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslennart, gchang
bugs1425697, 594092
milestone58.0
Bug 1425697: WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT++. r=lennart.grahl+594092 a=gchang MozReview-Commit-ID: 7TWwZ2Z6ZXt
netwerk/sctp/datachannel/DataChannelProtocol.h
--- a/netwerk/sctp/datachannel/DataChannelProtocol.h
+++ b/netwerk/sctp/datachannel/DataChannelProtocol.h
@@ -17,17 +17,17 @@
 #endif
 
 #define WEBRTC_DATACHANNEL_STREAMS_DEFAULT                 256
 // Do not change this value!
 #define WEBRTC_DATACHANNEL_STREAMS_OLDER_FIREFOX           256
 #define WEBRTC_DATACHANNEL_PORT_DEFAULT                    5000
 // TODO: Bug 1381146, change once we resolve the nsCString limitation
 #define WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_LOCAL          1073741823
-#define WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT 65535
+#define WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE_DEFAULT 65536
 // TODO: Bug 1382779, once resolved, can be increased to min(Uint8ArrayMaxSize, UINT32_MAX)
 // TODO: Bug 1381146, once resolved, can be increased to whatever we support then (hopefully
 //       SIZE_MAX) or be removed
 #define WEBRTC_DATACHANNEL_MAX_MESSAGE_SIZE_REMOTE         2147483637
 
 #define DATA_CHANNEL_PPID_CONTROL           50
 #define DATA_CHANNEL_PPID_BINARY_PARTIAL    52
 #define DATA_CHANNEL_PPID_BINARY            53