aboutsummaryrefslogtreecommitdiff
path: root/packages/vms/curl_crtl_init.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-02-18 08:14:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-02-19 10:18:47 +0100
commit942eb09e8a97b58b6ba8df280400322d201bcbd4 (patch)
treebcdb77c88d3c0f6d31a0ab26d5ce58cd9db21a6c /packages/vms/curl_crtl_init.c
parent5908e900be1ec3c890e5557bfc7347fabd834ed3 (diff)
http: make adding a blank header thread-safe
Previously the function would edit the provided header in-place when a semicolon is used to signify an empty header. This made it impossible to use the same set of custom headers in multiple threads simultaneously. This approach now makes a local copy when it needs to edit the string. Reported-by: d912e3 on github Fixes #3578 Closes #3579
Diffstat (limited to 'packages/vms/curl_crtl_init.c')
0 files changed, 0 insertions, 0 deletions