[Bro-Dev] Log::set_buf Ineffective Before First Write

Jan Grashöfer jan.grashoefer at gmail.com
Wed Nov 29 04:35:21 PST 2017


Hi Logan,

On 28/11/17 21:40, Logan Lembke wrote:
> Effectively, this prevents configuring buffering behavior before the first
> write occurs. I'm new to the Bro code base, but I believe a fix could be
> made by storing the buffering behavior on the stream and checking this
> behavior on writer initialization.
> 
> ...
> 
> Does this look like a valid problem?

I haven't had a look at your code but the issue reminds me of 
https://bro-tracker.atlassian.net/browse/BIT-1441. If you continue 
digging into this, you might be able to solve both issues.

Jan


More information about the bro-dev mailing list