Github user jpeach commented on the pull request: https://github.com/apache/trafficserver/pull/301#issuecomment-158530197 Thanks, I'll review again next week. I don't think I understand what you mean about the marshaling APIs being unsuitable. Here's how you would use it to send a local manager message: static int send_a_message(int flags, const char * parent, const char * child) { static const MgmtMarshallType fields[] = { MGMT_MARSHALL_INT, MGMT_MARSHALL_STRING, MGMT_MARSHALL_STRING, }; void * buffer; size_t len; len = mgmt_message_length(fields, COUNTOF(fields), &flags, &parent, &child); buffer = ats_malloc(buffer); mgmt_message_marshall(buffer, length, fields, COUNTOF(fields), &flags, &parent, &child); pmgmt->signalManager(MGMT_SIGNAL_CONFIG_FILE_GROUP_UPDATE, buffer, len); ats_free(buffer); }
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---