Searched refs:kMaxPayloadSize (Results 1 – 1 of 1) sorted by relevance
131 constexpr size_t kMaxPayloadSize = 1024 * 1024; // 1 MiB in doSendMessage() local132 static_assert(kMaxPayloadSize <= INT32_MAX, in doSendMessage()136 if (length > kMaxPayloadSize) { in doSendMessage()137 LOGE("Message too large (got %zu, max %zu bytes)", length, kMaxPayloadSize); in doSendMessage()