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

websocket OPEN_BEFORE 和OPEN_AFTER会触发两次 #1334

Closed
yinjiajiu opened this issue Jul 30, 2020 · 0 comments
Closed

websocket OPEN_BEFORE 和OPEN_AFTER会触发两次 #1334

yinjiajiu opened this issue Jul 30, 2020 · 0 comments
Assignees
Milestone

Comments

@yinjiajiu
Copy link

yinjiajiu commented Jul 30, 2020

Q A
Bug report? yes
Feature request? no
Swoft version 2.7
Swoole version 4.4.17
PHP version 7.4.4
Runtime environment Docker etc.

Describe the bug
A clear and concise description of what the bug is.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Details

 /**
     * On websocket opened: before
     */
    public const OPEN_BEFORE = 'swoft.ws.server.open.after';

    /**
     * On websocket opened: after
     */
    public const OPEN_AFTER = 'swoft.ws.server.open.after';
// paste output here

Provide minimal script to reproduce the issue

// paste code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants