Git Product home page Git Product logo

guzzle's People

Contributors

assert6 avatar daydaygo avatar deminy avatar fireqong avatar huangdijia avatar huangzhhui avatar limingxinleo avatar littlesqx avatar sy-records avatar xuanyanwow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

guzzle's Issues

[BUG] Fatal error with Guzzle v7.8

Fatal error: Uncaught TypeError: curl_close(): Argument #1 ($handle) must be of type CurlHandle, Swoole\Curl\Handler given in /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:634
Stack trace:
#0 /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(634): curl_close(Object(Swoole\Curl\Handler))
#1 [internal function]: GuzzleHttp\Handler\CurlFactory->__destruct()
#2 {main}
thrown in /app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 634

Why do you ignored some http setting

    Using hyperf/guzzle as a dependency in my project. But found that I can't pass HTTP client settings. Finally, I found that because you ignored these options I passed but only keep delay and timeout in \Hyperf\Guzzle\RingPHP\CoroutineHandler::getSettings.

protected function getSettings($options): array

image
    What I want is pass the HTTP proxy in to inner Swoole\Coroutine\Http\Client in order to use http_proxy_host and http_proxy_port.
    The only way I can do now is hard coding here with these settings. But It's not the way I want. \Hyperf\Guzzle\RingPHP\CoroutineHandler::__invoke
image
    Could you please provide some better solutions for this situation?

[Bug] Error 'Http invalid protocol' when response is 204 No content

When we add Hyperf\Guzzle\PoolHandler as our client stack, we receive the error 'Http invalid protocol' always that response is with status code 204 No content, throw by Hyperf\Guzzle\PoolHandler.php:67.

Every other type of status code work well.

Can someone help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.