Comments (4)
使用 hprose 1.5.6 时,使用的 swoole 扩展是哪个版本的?跟使用 hprose-swoole 2.0.x 时使用的 swoole 扩展是否是相同版本?我看代码中,1.5.6 和 2.0.x 中获取请求都是使用的 $request->rawContent();
并没有发现在获取请求数据时,有什么不同之处。
from hprose-swoole.
1.5.6与2.0.*版本均使用swoole 1.8.9版本。以上测试中,只更改了库的版本,并没有更换测试环境其他东西。
from hprose-swoole.
如果仅仅是头部异常会触发这个问题的话,那应该模拟异常包的头信息发送时也会导致 bug 重现才对,但是看你的描述,貌似只有用 apple 6s + 7.0.0.2825 QQ 浏览器才会重写该 bug,这种情况下,我没办法定位 bug 的位置啊。
from hprose-swoole.
对,特定设备与浏览器下才会重现这个bug,所以我定位不到,只能根据头信息的差别来去掉异常访问。是异常访问->差别头信息,而不是差别头信息->bug。重现方式已经提供了,也就是在其它任何使用了高版本的hprose-swoole
服务中,能够有稳定的办法中止掉服务。这个bug是必须解决。
from hprose-swoole.
Related Issues (11)
- 使用命名空间少个swoole,如图所示
- 当swoole server工作在多进程模式下,并设置了最大请求数,当work进程自动重启后,之前订阅的客户端无法再接收推送,需要重新subscribe才行 HOT 1
- 建议推出协程版 HOT 1
- hprose-swoole does not support swoole 4.4 HOT 2
- Class 'swoole_http_client' not found i HOT 9
- composer.json是否有误? HOT 1
- PHP Notice: Undefined offset: 5 in hprose-swoole/src/Hprose/Swoole/Socket/Service.php on line 150 HOT 1
- composer install run demo script got error HOT 2
- TCP 方式请求,客户端不主动调用close的情况下报warning HOT 3
- hprose-ruby客户端data长度超过124,swoole服务端无响应 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hprose-swoole.