hyperf / hyperf/socketio-server

将SWOOLE的enable_delay_receive设置为true时,不会触发onConnect事件。导致无法使用confirm来确认。

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
26
Forks
6
PR merge metrics
No merged PRs in 30d

Description

将SWOOLE的enable_delay_receive设置为true时,不会触发onConnect事件。导致无法使用confirm来确认。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with Swoole's enable_delay_receive set to true, then trace the onConnect and confirm flow in the socket server. Done means onConnect is triggered and confirm can be used successfully under delayed receive.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.