New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 597026 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocking:
issue 597736



Sign in to add a comment

CC should check its message size is under limit

Project Member Reported by haibinlu@chromium.org, Mar 22 2016

Issue description

the const is kMaxPacketPayloadSizeBytes

  if (message->ByteSize() > static_cast<int>(kMaxPacketPayloadSizeBytes)) {
    DLOG(ERROR) << "Message rejected (too large): " << *message;
    callback.Run(net::ERR_MSG_TOO_BIG);
    return;
  }

original bug: crbug/596796
 
Cc: nyquist@chromium.org haibinlu@chromium.org khushals...@chromium.org
 Issue 597009  has been merged into this issue.

Comment 2 by klo...@chromium.org, Mar 22 2016

Cc: klo...@chromium.org
Components: -Mobile>Blimp Mobile>Blimp>Client
Labels: -Pri-3 Pri-2
Status: Assigned (was: Untriaged)
Adding a note from our offline discussion, there is no direct way to reduce the size of a single message right now. Even if we drop this message, the compositor will again try to send a message with the same size.

We'll need a combination of interest rect manipulation and display item caching. Also the scaling down of images sent with the compositor messages should reduce the size.

In the meanwhile, we should consider bumping up the max payload size limit. And in the case where the message exceeds the limit, inform the client to show a popup to the user and trigger closing and re-creating the tab on the engine so we re-build the WebContents.
Cc: -khushals...@chromium.org w...@chromium.org

Comment 5 by klo...@chromium.org, Mar 22 2016

Increase the max size as a short term solution sounds good.

When I tried to load cnbc.com, I got connection error. Suspect the same cause.
Looks like the error on cnbc.com is caused by another bug, filed crbug/597163 for it.

Comment 7 by klo...@chromium.org, Mar 23 2016

How about sfgate.com? Similar as cnn.com, almost empty page.

Comment 8 by klo...@chromium.org, Mar 23 2016

 Issue 596751  has been merged into this issue.

Comment 9 by klo...@chromium.org, Mar 23 2016

Labels: -Pri-2 Pri-1
For #8, it is http://www.youtube.com. If it is different reason, please re-open it.

Mark this as P1 as it blocks too many sites.
It is the same reason, I'm increasing the size limit for the messages, https://codereview.chromium.org/1823383002/
Labels: -Pri-1 Pri-2
I'll reduce the priority on this but keeping it open. Since, we shouldn't be silently dropping messages.

Comment 13 by amin...@google.com, Mar 24 2016

Blocking: 597736
Status: Fixed (was: Assigned)
I have opened a different bug for the silent dropping of messages on the engine, crbug/597743, since that shouldn't block the release.

Marking this as fixed now.
Labels: Archive-Blimp

Sign in to add a comment