Bug 869208 - Increase the buffer size we're using to deliver network streams to OOPP plugins. r=aklotz, a=sledru
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 06 Jan 2015 12:40:15 -0500
changeset 243014 cb0fd5d9a263
parent 243013 957b4a673416
child 243015 a99eabe5e8ea
push id4364
push userryanvm@gmail.com
push date2015-01-24 16:33 +0000
treeherdermozilla-beta@34330baf2af6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaklotz, sledru
bugs869208
milestone36.0
Bug 869208 - Increase the buffer size we're using to deliver network streams to OOPP plugins. r=aklotz, a=sledru
dom/plugins/ipc/BrowserStreamParent.cpp
--- a/dom/plugins/ipc/BrowserStreamParent.cpp
+++ b/dom/plugins/ipc/BrowserStreamParent.cpp
@@ -7,17 +7,17 @@
 #include "BrowserStreamParent.h"
 #include "PluginInstanceParent.h"
 #include "nsNPAPIPlugin.h"
 
 #include "mozilla/unused.h"
 
 // How much data are we willing to send across the wire
 // in one chunk?
-static const int32_t kSendDataChunk = 0x4000;
+static const int32_t kSendDataChunk = 0xffff;
 
 namespace mozilla {
 namespace plugins {
 
 BrowserStreamParent::BrowserStreamParent(PluginInstanceParent* npp,
                                          NPStream* stream)
   : mNPP(npp)
   , mStream(stream)