pnoltes commented on PR #459: URL: https://github.com/apache/celix/pull/459#issuecomment-1368122339
The PR has become a bit bigger than anticipated. The original metadata encoding for pubsub protocol was reusing the provided buffer when calling encodeMetadata. I kept this buffer reusing behavior, but refactored to code to extend the buffer if needed and also return a metadata content length next to the buffer size. The metadata content length can then be used to ensure pubsub only needs to send the minimal bytes needed for the metadata. Also quite some files where updated for the -Wformat warning and usage of __attribute__((format(printf,m,n))). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
