Files
php-src/ext
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-01-01 16:28:54 +08:00
2013-06-17 01:06:01 -07:00
2013-01-01 16:28:54 +08:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-07-15 00:23:03 -07:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-06-10 14:20:18 -07:00
2013-01-01 16:28:54 +08:00
2013-07-15 00:23:03 -07:00
2013-06-10 14:20:18 -07:00
2013-01-01 16:28:54 +08:00
2013-01-01 16:28:54 +08:00
2013-08-04 16:05:36 -07:00
2013-08-04 16:05:36 -07:00
2013-08-05 17:23:00 +02:00
2013-07-15 00:23:03 -07:00
2013-08-18 14:16:17 -07:00
2013-07-15 00:23:03 -07:00
2013-07-15 00:23:03 -07:00
2013-07-14 11:16:42 -07:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-08-12 15:52:15 +02:00
2013-08-04 16:05:36 -07:00
2013-01-01 16:28:54 +08:00
2013-01-01 16:28:54 +08:00
2013-06-10 14:20:18 -07:00
2013-04-05 23:27:34 +08:00
2013-07-15 00:21:39 -07:00
2013-08-19 11:17:13 +02:00
2013-07-15 00:23:03 -07:00
2013-06-10 14:20:18 -07:00
2013-06-10 14:20:18 -07:00
2013-01-01 16:28:54 +08:00
2013-08-04 16:05:36 -07:00
2013-01-01 16:28:54 +08:00
2013-01-01 16:28:54 +08:00
2013-07-10 19:36:12 +02:00
2013-06-19 11:15:52 +08:00
2013-07-15 00:23:03 -07:00
2013-08-09 11:14:04 +02:00
…