mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
This new option allows to disable leak detective to reduce the runtime during development. Either only for the command line (swanctl, pki etc.) or optionally also for the daemon(s). Disabling leak detective only for the CLI tools already brings a considerable reduction in runtime (from 48m to 38m on my dev host) as there are many such calls in the post-test stage. Any leaks in those tools are also a lot less of an issue than leaks in the daemon. So using this during development should be fine as long as a full test run is done regularly (in particular before releases). Disabling leak detective completely further reduces the runtime (to 30m on my dev host). But that should probably only be used for functional regression tests after verifying new code didn't introduce new leaks. This also fixes the service script which is used for charon-tkm since 16fcdb460afd ("charon-tkm: Don't use starter/stroke with charon-tkm anymore").
12 lines
250 B
Plaintext
12 lines
250 B
Plaintext
Host *
|
|
LogLevel QUIET
|
|
# debian default
|
|
SendEnv LANG LC_*
|
|
SendEnv LEAK_DETECTIVE_*
|
|
StrictHostKeyChecking no
|
|
UserKnownHostsFile /dev/null
|
|
GSSAPIAuthentication yes
|
|
# share multiple sessions
|
|
ControlMaster auto
|
|
ControlPath /tmp/ssh-uml-%r@%h:%p
|