summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.c
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2012-12-22 19:03:24 -0500
committerPierrick Charron <pierrick@php.net>2012-12-22 19:03:24 -0500
commita2b6d9c1047a4e5f3419ebc3489a66d62aa12d07 (patch)
treef9c1f7433d2ba0e47485cb3dbe718b3f31951197 /ext/mssql/php_mssql.c
parent1c553eba196b823439e69f003e63afd6d202d582 (diff)
downloadphp-git-a2b6d9c1047a4e5f3419ebc3489a66d62aa12d07.tar.gz
Fixed segfault due to libcurl connection caching
Libcurl is doing connection caching. When easy handle is cleaned up, if the handle was previously used by the curl_multi_api, the connection remains open un the curl multi handle is cleaned up. Some protocols are sending content like the FTP one, and libcurl try to use the WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those callback are freed, we need to use an other callback to which avoid segfaults. Libcurl commit d021f2e8a00 fix this issue and should be part of 7.28.2
Diffstat (limited to 'ext/mssql/php_mssql.c')
0 files changed, 0 insertions, 0 deletions