-
Notifications
You must be signed in to change notification settings - Fork 474
Open
Labels
analyzingAnalyzing this issueAnalyzing this issue
Description
1-1 Your software version (Screenshot of your startup)
Component | Version |
---|---|
php | 8.2.27 |
Open Swoole | 4.12.1 |
LaravelS | 3.8.3 |
Laravel Framework [local] | 11.36.1 |
1-2 Protocols
Protocol | Status | Handler | Listen At |
---|---|---|---|
Main HTTP | On | Laravel Router | http://0.0.0.0:1215 |
Port#0 TCP IPV4 Socket | On | Xpush\Xserver | 0.0.0.0:50001 |
2 Detail description about this issue
I need one http server and one tcp server.
So I set dispatch_mode to 2.
However, the tcp server will immediately terminate the client's connection when the client connects and sends it to the fd.
Here is my log
[2025-01-17 09:14:35] local.INFO: New TCP connection [14]
[2025-01-17 09:14:35] local.INFO: Received data [14,5,"\u0000\u0003\u0000\u0000\u0000 AUTHxpush_sample0\u0011aaa\u0011sessionid�","0003000000204155544878707573685f73616d706c6530116161611173657373696f6e6964ff"]
[2025-01-17 09:14:35] local.INFO: send ["00030000000e415554484f4b11617364636363ff","\u0000\u0003\u0000\u0000\u0000\u000eAUTHOK\u0011asdccc�"]
[2025-01-17 09:14:35] local.INFO: Close TCP connection [14]
What could be the problem?
I wonder if there are any similar cases.
Metadata
Metadata
Assignees
Labels
analyzingAnalyzing this issueAnalyzing this issue