Skip to content

Conversation

@minororange
Copy link

        $builder = ClientBuilder::create();
        $client = new \GuzzleHttp\Client(['handler' => HandlerStack::create(new CoroutineHandler())]);

        $builder->setHttpClient($client);
        $this->client = $builder->setHosts(explode(',', config('elastic.endpoint')))
            ->setSSLVerification(false)
            ->build();

In the Hyperf framework, when using coroutine cURL and customizing the Handler as shown in the code above, the client set by $builder->setHttpClient($client) does not take effect after build.

(Translation by AI)

@minororange minororange requested a review from a team as a code owner September 25, 2025 11:39
@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
b1020a1, 3edebac

Please, read and sign the above mentioned agreement if you want to contribute to this project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant