]> git.ipfire.org Git - thirdparty/curl.git/commit
test3026: reduce runtime in legacy mingw builds
authorJay Satiro <raysatiro@yahoo.com>
Mon, 14 Nov 2022 09:07:30 +0000 (04:07 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 18 Nov 2022 07:54:57 +0000 (02:54 -0500)
commit856b133f5d62475d4cc12624c4cccb4170134712
treeec22b39a1d050a8c3dbc3f1b800d74d2e544a58e
parent37ca6f0f9a0040b6dc2d5f108cebaa4f7f6abced
test3026: reduce runtime in legacy mingw builds

- Load Windows system libraries secur32 and iphlpapi beforehand, so
  that libcurl's repeated global init/cleanup only increases/decreases
  the library's refcount rather than causing it to load/unload.

Assisted-by: Marc Hoersken
Closes https://github.com/curl/curl/pull/9412
tests/libtest/lib3026.c
tests/libtest/testutil.c
tests/libtest/testutil.h