I have been performing some experiments with strongSwan 4.3.6, though the 4.4.0 code does the same thing. In file_logger.c, log_() does not perform a flush after writing things. While doing some tests that require synchronization and monitoring of the log file, the buffered writes are throwing my tests off.
I would believe that the code explicitly call fflush() on line 70, after the while loop? Obviously there are performance issues; maybe there should be a flag in strongswan.conf to always flush? -- Jason Tang / [email protected] / http://www.jtang.org _______________________________________________ Dev mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/dev
