[strongSwan-dev] fflush() for file_logger_t?

Martin Willi martin at strongswan.org
Thu May 20 08:06:09 CEST 2010


Hi Jason,

> 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?

We have discussed this some weeks ago, but the patch didn't make it into
4.4.0.
You may apply the patch [1] manually.

Please keep in mind that there is an outstanding bug [2], so this option
might not work if your file contains a ".".

Best regards
Martin

[1]http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=17a02ff1b0ca5cd849fb007ba82cffb82bb64781
[2]http://wiki.strongswan.org/issues/112





More information about the Dev mailing list