HomeClusterLabs Projects

Feature: libcrmcommon: crm_ipc_send can receive large IPC messages.
8cdd5be2395bUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Feature: libcrmcommon: crm_ipc_send can receive large IPC messages.

We create a new fixed-size temporary buffer inside crm_ipc_send and
receive from libqb into that in order to keep changes to a minimum.
Then, we add the contents of that temporary buffer to the client's IPC
buffer which is allowed to grow as more of the message is received.

Also note that crm_ipc_send has an extra receive block at the top for
reading and discarding replies that previously timed out. This block
also has to be modified to handle multipart messages, but since we are
just throwing those away, there's not much to do.

Details

Provenance
clumensAuthored on Thu, Apr 10, 3:40 PM
Parents
rP2e7987875d71: Feature: libcrmcommon: Add pcmk__ipc_msg_append.
Branches
Unknown
Tags
Unknown

Event Timeline