HomeClusterLabs Projects

Refactor: libcrmcommon: Remove buf_size from crm_ipc_s.
7a38a6439e51Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent 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 Apr 10 2025, 3:11 PM
Parents
rPf18e97731f87: Feature: libcrmcommon: crm_ipc_send can send large IPC messages.
Branches
Unknown
Tags
Unknown

Event Timeline