-
I want to have some long executing code to be executed after the result is returned. For example, I have a controller method that updates my DB. It must start the DB transaction and return the respons…
-
Please answer these questions before submitting your issue. Thanks!
1. What did you do? If possible, provide a simple script for reproducing the error.
Quite a complex application, using HTTP Se…
-
Hello.
I intend to make a Swoole program to act both as a ws server and a ws client. This is required since there is a third server it has to interact wtih.
The flow is like this. (in parenthesis…
-
Hey!
People, I've begun with Swoole. Plus, I also took a note on Demin Yin about the #CSP programming that's behind the coroutines. I liked it so!
I'm working on a open source project (but close…
-
i'm not firing a bug report or request for feature but rather seek for suggestion how to use swoole to solve my problem. i'm not sure of this topic is appropriate here, if not suggest where should i s…
-
Hi,
Should swoole-session be working with Swoole 4.5.2, PHP 7.4.3?
This is what I'm getting:
```
PHP Warning: session_id(): Cannot change session id when headers already sent in /var/www/html/m…
-
**1. What did you do? If possible, provide a simple script for reproducing the error.**
We work with allot of data transfer objects which can be chained like this: `$obj->child->child->property;` w…
-
Hello,
I am new to Swoole and trying to find an example of how to run multiple processes in the same event loop. For example, let's say in the same event loop, I want to:
- run a websocket serv…
-
**1. What did you do? If possible, provide a simple script for reproducing the error.**
Is there a way to bubble up the exceptions to the first coroutine that catches it?
Example:
```
go(funct…
-
I can confirm that table objects do not work across threads. Documents should be updated to clarify.
As stated in https://www.swoole.co.uk/docs/modules/swoole-table
### Why to use swoole table
…