Project

General

Profile

Feature #13

Flushing administrative output

Added by Nitesh Mor over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Start date:
07/13/2016
Due date:
07/15/2016
% Done:

0%


Description

There ought to be a fflush(fp); at source:gdplogd/logd_admin.c#L229
This ensures that all the data from a single call to admin_post_statsv(...) is flushed in a timely manner.

History

#1 Updated by Eric Allman over 4 years ago

  • Due date set to 07/15/2016

I guess I had assumed that this was line buffered, but that was a bad assumption. Another point: it should also lock the fd to avoid intermixed output if two threads are posting info at the same time. I'll try to get this done tomorrow at the airport, or latest by Friday.

#2 Updated by Eric Allman over 4 years ago

  • Status changed from New to In Progress

#3 Updated by Eric Allman about 4 years ago

  • Status changed from In Progress to Resolved

Fixed in commit:1241e33.

#4 Updated by Nitesh Mor about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF