• Chase Phillips's avatar
    Mojo: Change CHECK() on message length to CHECK_LT() · 75935f9b
    Chase Phillips authored
    Crash reports from users indicate we sometimes try to send messages
    that are too large.  We have code to keep this from happening, but
    the code is brittle and apparently some cases can get through.
    
    It would help to know what the relative values are to understand how
    our estimates are failing, so change this from CHECK() to CHECK_LT().
    
    Bug: 717812
    Bug: 901269
    Change-Id: Ic511dae1ea5d96dcb9937fff1207976a40a903f2
    Reviewed-on: https://chromium-review.googlesource.com/c/1324091Reviewed-by: default avatarKen Rockot <rockot@google.com>
    Commit-Queue: Chase Phillips <cmp@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#606158}
    75935f9b
node_channel.cc 25.1 KB