HomeClusterLabs Projects

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

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

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
rP1c20b224f5a6: Feature: libcrmcommon: Add pcmk__ipc_msg_append.
Branches
Unknown
Tags
Unknown

Event Timeline