1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00
Adam Harvey aa7d3d8e6d Track created curl_slist structs by option so they can be updated in situ.
At present, when curl_setopt() is called with an option that requires the
creation of a curl_slist, we simply push the new curl_slist onto a list to be
freed when the curl handle is freed. This avoids a memory leak, but means that
repeated calls to curl_setopt() on the same handle with the same option wastes
previously allocated memory on curl_slist structs that will no longer be read.

This commit changes the zend_llist that was previously used to track the lists
to a HashTable keyed by the option number, which means that we can simply
update the hash table each time curl_setopt() is called.

Fixes bug #65458 (curl memory leak).
2013-08-19 12:01:04 -07:00
2013-07-15 00:23:03 -07:00
2013-06-16 18:13:49 -07:00
2010-04-26 23:53:30 +00:00
2013-08-04 16:05:36 -07:00
2013-07-22 14:50:18 +02:00
2013-07-15 00:23:03 -07:00
2012-10-02 00:02:08 +08:00
2012-03-22 17:22:17 +08:00
2011-12-04 16:46:45 +00:00
2003-02-20 00:19:04 +00:00
2013-01-01 16:28:54 +08:00
2010-10-05 22:58:19 +00:00
2009-11-23 21:53:30 +00:00
2012-06-22 20:01:06 +02:00
2008-03-19 23:24:56 +00:00
2004-02-08 22:49:47 +00:00
2008-06-19 17:59:35 +00:00
MFH
2008-01-17 14:38:16 +00:00
2013-06-10 14:20:18 -07:00
2009-07-13 16:10:29 +00:00
2013-06-28 14:01:25 -07:00

The Win32 Build System.

See http://wiki.php.net/internals/windows/stepbystepbuild 

vim:tw=78:sw=1:ts=1:et

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:25:23.756Z
Readme BSD-3-Clause 1 GiB
Languages
C 66%
PHP 31.3%
C++ 0.8%
Shell 0.5%
M4 0.4%
Other 0.8%