diff options
| author | Jay Satiro <raysatiro@yahoo.com> | 2019-03-01 01:37:00 -0500 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-01 14:54:37 +0100 |
| commit | 5025eb05bde83a0a51eb0668c45c240b366545bf (patch) | |
| tree | eecd6c6f6c9cf5b8656bbb39e97342f7c0b6a522 /main/php.h | |
| parent | 006355c9fa0d1cd8aef86a97c162053e7d2d896e (diff) | |
| download | php-git-5025eb05bde83a0a51eb0668c45c240b366545bf.tar.gz | |
curl_error: return an empty string if no error occurred
CURLOPT_ERRORBUFFER doc says "Do not rely on the contents of the
buffer unless an error code was returned." [1]
Prior to this change the error buffer was returned even if no error had
occurred, and that buffer may contain incorrect information in such a
case. [2]
[1]: https://curl.haxx.se/libcurl/c/CURLOPT_ERRORBUFFER.html
[2]: https://github.com/curl/curl/issues/3629
Diffstat (limited to 'main/php.h')
0 files changed, 0 insertions, 0 deletions
