HomeClusterLabs Projects

Refactor: libcrmcommon: Remove buf_size from crm_ipc_s.
eb791777b127Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: libcrmcommon: Remove buf_size from crm_ipc_s.

The libqb read buffer is now a fixed size, so we can just use
crm_ipc_default_buffer_size() anywhere we need that. And then anywhere
we need to know the size of buffer (nowhere at the moment, but possibly
in the future) we can just use GByteArray->len to figure that out. So
there's no need to keep an extra struct member around anymore.

Details

Provenance
clumensAuthored on Thu, Apr 10, 3:11 PM
Parents
rPa8d7ba3e515f: Feature: libcrmcommon: crm_ipc_send can send large IPC messages.
Branches
Unknown
Tags
Unknown

Event Timeline