Commit Graph

10 Commits

Author SHA1 Message Date
Rob Landers
9ef3bd7c47
feat: add fastcgi_finish_request() support (#69)
* Add function to ext

* buggy af, but kinda working

* Get worker and regular mode working

* fix formatting

* add eol

* add eol

* 🤦

* properly generate file

* use sync.Once
2022-11-03 08:36:47 +01:00
Kévin Dunglas
26edeb76e4
fix: prevent panic when restarting crashed worker (#49) 2022-10-21 14:43:16 +02:00
Kévin Dunglas
7ec0043fe8
feat: handle errors in worker mode (#9)
* feat: handle errors in worker mode (not working)

* feat: better exception and error handling
2022-10-11 08:10:46 +02:00
Kévin Dunglas
c45a4c620f
feat: improve sessions handling in workers 2022-10-07 16:59:27 +02:00
Kévin Dunglas
4a87ad3609
chore: add tests regarding persistent objects 2022-10-05 15:44:02 +02:00
Kévin Dunglas
d61c96a4c3
feat: use Zap for logging 2022-10-04 17:42:45 +02:00
Kévin Dunglas
796476d537
feat: use threads instead of GoRoutines (#6)
* feat: use threads instead of GoRoutines

* many improvements

* fix some bugs
2022-10-04 14:41:19 +02:00
Kévin Dunglas
84273ec395
fix: fix thread safety issues (#5)
* fix: fix thread safety issues

* some improvements

* wip

* tiny improvements
2022-06-03 17:18:07 +02:00
Kévin Dunglas
09de805aaa
fix: memory leaks and refactor worker code (#2) 2022-05-18 21:19:07 +02:00
Kévin Dunglas
7d81fa51fe
feat: add a woker mode (#1)
* refactor: better memory management

* wip

* tmp

* introduce a go-like api

* upgraded to PHP 8.2

* Fix thread safety issues

* fix tests

* wip

* refactor worker

* worker prototype

* fix populate env

* session

* improve tests

* fix Caddy tests

* refactor
2022-05-18 11:52:24 +02:00