hyperf / hyperf/socketio-server
中间件配置无效
- Ngôn ngữ chính
- PHP
- Star
- 26
- Fork
- 6
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
中间件配置无效,在config/autoload/middlewares.php中配置的
服务器版本:AlmaLinux 9
php版本:8.3.3
redis版本:7.2.4
hyperf版本:3.1
socketio-server库版本:3.1.6
运行没有报错,socketio通信正常,第一次请求没有经过中间件。
config/autoload/middlewares.php
'socket-io' => [
App\Middleware\SocketAuthenticationMiddleware::class,
]
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start with config/autoload/middlewares.php and App\Middleware\SocketAuthenticationMiddleware, then reproduce the first Socket.IO request using the reported Hyperf 3.1 and socketio-server 3.1.6 versions. Trace middleware registration and invocation, and verify that the first request passes through the configured middleware without breaking normal Socket.IO communication.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100