[RFC] [Discussion] Persistent CurlShareHandle objects

From: Date: Wed, 09 Oct 2024 20:16:26 +0000
Subject: [RFC] [Discussion] Persistent CurlShareHandle objects
Groups: php.internals 
Request: Send a blank email to internals+get-125777@lists.php.net to get a copy of this message
Hello all, After receiving some feedback about https://github.com/php/php-src/pull/15603, I'm formally proposing an RFC to add persistent curl share handles here: https://wiki.php.net/rfc/curl_share_persistence Thanks to those who have provided feedback so far! Of note: the implementation introduces a global variable to the curl extension via ZEND_BEGIN_MODULE_GLOBALS; this appears preferred over EG(persistent_list). Should the implementation stick with the module global, or should it go back to EG(persistent_list) until we've created a formal non-resource API (in another RFC)? I'd like to keep the future of persistent resources out of scope for the decision on whether to add curl share handle persistence to PHP, but it is worth deciding what form the persistence takes *for now*.

« previous php.internals (#125777) next »