diff options
author | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 21:06:06 +0000 |
---|---|---|
committer | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 21:06:06 +0000 |
commit | 2752bf6a3120e172d216ab7bde42222a3ae4b5cb (patch) | |
tree | ce55c39f09c2737acf5c107d133ee76e256ace73 /content | |
parent | fa86821d843944656d266544496acc46ff2d4205 (diff) | |
download | chromium_src-2752bf6a3120e172d216ab7bde42222a3ae4b5cb.zip chromium_src-2752bf6a3120e172d216ab7bde42222a3ae4b5cb.tar.gz chromium_src-2752bf6a3120e172d216ab7bde42222a3ae4b5cb.tar.bz2 |
Increase message size for the zygote channel
Increasing renderer command-line size leads to problems. This is a temporary
work-around, but a long term solution is needed.
BUG=chromium-os:13289
TEST=before patch, increase renderer command line size to about 1k, observe the
hangs. apply patch, observe no hang with same command line.
Review URL: http://codereview.chromium.org/6733001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/zygote_main_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/zygote_main_linux.cc b/content/browser/zygote_main_linux.cc index 0448fba..16a011a 100644 --- a/content/browser/zygote_main_linux.cc +++ b/content/browser/zygote_main_linux.cc @@ -139,7 +139,7 @@ class Zygote { // new process and thus need to unwind back into ChromeMain. bool HandleRequestFromBrowser(int fd) { std::vector<int> fds; - static const unsigned kMaxMessageLength = 1024; + static const unsigned kMaxMessageLength = 2048; char buf[kMaxMessageLength]; const ssize_t len = UnixDomainSocket::RecvMsg(fd, buf, sizeof(buf), &fds); |