-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broker: avoid truncation of log messages during shutdown
Problem: In the broker shutdown code, log messages may be truncated because the log forwarding code uses a static buffer of FLUX_MAX_LOGBUF. Since a maximum size of the final log message is known, use a variable length array for the buffer in forward_logbuf() instead of FLUX_MAX_LOGBUF to avoid any truncation.
- Loading branch information
Showing
1 changed file
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters