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-05-22 08:30:50 +02:00
2013-06-25 21:36:50 -03:00
2013-01-01 16:28:54 +08:00
2013-08-19 12:01:04 -07:00
2013-08-14 20:36:50 -07:00
2013-08-14 20:36:50 -07:00
2013-08-14 20:36:50 -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-08-04 16:05:36 -07:00
2013-07-21 22:25:21 -07:00
2013-08-04 19:31:30 -07:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-08-14 20:36:50 -07:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-06-26 19:15:19 -03:00
2013-06-10 14:20:18 -07:00
2013-08-14 20:36:50 -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-08-04 16:05:36 -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-08-19 01:03:18 -07:00
2013-08-02 16:23:18 -04: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-05-31 16:26:54 +02:00
2013-08-02 16:12:21 -04:00
2013-07-15 00:23:03 -07:00
2013-01-01 16:28:54 +08:00
2013-08-04 16:05:36 -07:00
2013-08-02 09:52:08 +09:00
2013-08-12 15:52:15 +02:00
2013-07-22 00:57:33 -07:00
2013-08-04 16:05:36 -07:00
2013-01-01 16:28:54 +08:00
2013-06-17 00:15:31 -07:00
2013-01-01 16:28:54 +08:00
2013-08-04 16:05:36 -07:00
2013-08-14 20:36:50 -07:00
2013-06-10 14:20:18 -07:00
2013-08-14 20:36:50 -07:00
2013-04-05 23:27:34 +08:00
2013-08-14 20:36:50 -07:00
2013-07-31 17:36:06 +04:00
2013-07-15 00:21:39 -07:00
2013-08-14 20:36:50 -07:00
2013-08-04 16:05:36 -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-08-18 13:59:39 -07:00
2013-07-15 00:23:03 -07:00
2013-08-14 20:36:50 -07:00
2013-08-14 20:36:50 -07:00
2013-08-09 11:14:04 +02:00