Hi,

such a flush_line flag was introduced about two weeks ago

http://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=17a02ff1b0ca5cd849fb007ba82cffb82bb64781

and is available in the latest developers release

http://download.strongswan.org/strongswan-4.4.1dr1.tar.bz2

Regards

Andreas

On 05/20/2010 12:44 AM, J. Tang wrote:
> 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?

======================================================================
Andreas Steffen                         [email protected]
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/dev

Reply via email to