Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请官方尽快更新基于guzzle 的 http请求sdk,curl已经不适合php swoole的开发 #124

Open
phenixsoul opened this issue Oct 12, 2019 · 6 comments

Comments

@phenixsoul
Copy link

目前sdk 底层的http,是完全基于curl的,curl在swoole中会造成进程堵塞,请官方尽快更新基于guzzle的http请求库

@ysongyang
Copy link

目前sdk 底层的http,是完全基于curl的,curl在swoole中会造成进程堵塞,请官方尽快更新基于guzzle的http请求库

请问你这边是否有解决办法呢?我也是这个问题,在swoole里无法上传

@farwish
Copy link

farwish commented Dec 13, 2019

抱歉,您要求不会被满足。

@crystoy
Copy link

crystoy commented Dec 24, 2019

同意楼主的建议,不能直接支持swoole可以理解,但guzzlehttp作为使用量最大的http工具包竟然不被支持,实在不能理解,仅仅是为了减少依赖?这不科学。既然是商业产品就要多听听客户的意见

@crystoy
Copy link

crystoy commented Dec 24, 2019

目前sdk 底层的http,是完全基于curl的,curl在swoole中会造成进程堵塞,请官方尽快更新基于guzzle的http请求库

请问你这边是否有解决办法呢?我也是这个问题,在swoole里无法上传

在swoole里可以上传,只不过是会造成阻塞,会极大影响性能。你说的无法上传应该是你程序的问题

@mayiyi
Copy link

mayiyi commented May 26, 2022

能用,只是用cUrl导致常驻内存了,然后就容易溢出,单独部署一个,定时重启,只能这样了

@dosgo
Copy link

dosgo commented Aug 16, 2023

自己改写啊,又没几行代码

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

No branches or pull requests

6 participants