diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-02-18 08:14:52 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-02-19 10:18:47 +0100 |
commit | 942eb09e8a97b58b6ba8df280400322d201bcbd4 (patch) | |
tree | bcdb77c88d3c0f6d31a0ab26d5ce58cd9db21a6c /docs/libcurl/opts/CURLOPT_FTPSSLAUTH.3 | |
parent | 5908e900be1ec3c890e5557bfc7347fabd834ed3 (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 'docs/libcurl/opts/CURLOPT_FTPSSLAUTH.3')
0 files changed, 0 insertions, 0 deletions