Commit Graph

50 Commits

Author SHA1 Message Date
Yoann Chocteau
0f0476792f
APP_RUNTIME as docker environment variable (#40)
APP_RUNTIME as docker environment variable
2022-10-19 11:47:42 +02:00
Kévin Dunglas
1e453036b2
fix: signals handling (#39) 2022-10-19 11:19:49 +02:00
Rob Landers
2890aae4a5
POC: Enable extensions + staged build (#33) 2022-10-19 07:40:31 +02:00
Alex Rock
9943160771
Add a small note for TLS with localhost (for people that don't know Caddy's TLS system) (#22) 2022-10-16 11:33:58 +02:00
Rokas Lakstauskas
814d6c5e92
Missing backslash for line continuation (#28) 2022-10-16 11:33:07 +02:00
Alex Rock
7460cbdb7c
Allow users to add php.ini files to /usr/local/lib/php/ without rebuilding the image (#27) 2022-10-15 18:57:16 +02:00
Kévin Dunglas
291b9464bc
docs: improve contribution guide 2022-10-15 18:42:24 +02:00
Kévin Dunglas
d4fce0d678
docs: document debug mode 2022-10-15 18:40:13 +02:00
Kévin Dunglas
b719e1cbea
docs: improve docs of the Go module (#25) 2022-10-15 11:54:42 +02:00
Kévin Dunglas
db1d909b3f
chore: add FUNDING.yml 2022-10-15 11:23:28 +02:00
Kévin Dunglas
f8bdd640cf
docs: add license (#24) 2022-10-15 11:21:21 +02:00
Javier Eguiluz
dd6b33a35c
[Docs] Minor typos and tweaks (#23) 2022-10-15 10:50:49 +02:00
Alex Rock
ce873e4459
Use proper number of cpus to compile php instead of hardcoded value (#21) 2022-10-15 09:46:44 +02:00
Jason McCallister
7bb0a013ef
Small typo (#18)
Was reading the docs and saw something small.

I did try to click the Go library documentation thinking it was the docs on how to use this in a normal Go app, but was surprised it was a link to the Go.dev docs. Any plans, I know it’s early, to document integration with a Go app?
2022-10-15 00:16:50 +02:00
Alban Baixas
ded7731938
docs: fix mercure link (#17) 2022-10-14 17:54:33 +02:00
Kévin Dunglas
4629d05d46
docs: add link to presentation 2022-10-14 17:14:17 +02:00
Kévin Dunglas
f97f56d45a
docs: improve compile instructions 2022-10-14 13:50:15 +02:00
Kévin Dunglas
625ab8906f
docs: update logo 2022-10-14 12:23:39 +02:00
Kévin Dunglas
b8177a007e
docs: add more docs (#16) 2022-10-14 12:20:57 +02:00
Kévin Dunglas
acc48830f7
feat: improve Dockerfile and add some docs (#15) 2022-10-13 18:05:22 +02:00
Kévin Dunglas
b971c07d89
feat: improve default config (#14) 2022-10-12 09:38:45 +02:00
Kévin Dunglas
5012ac30cd
chore: improve tests and add missing file (#13) 2022-10-11 20:41:50 +02:00
Kévin Dunglas
5af6b10d1f
feat: add support for 103 Early Hints (#12) 2022-10-11 17:40:12 +02:00
Kévin Dunglas
3712d0d69b
test: add tests for exception handling (#11) 2022-10-11 10:54:30 +02:00
Kévin Dunglas
46ec897d2e
feat: add stub PHP functions (#10) 2022-10-11 08:57:23 +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
a95f4b03dd
Merge pull request #8 from dunglas/fix/worker
fix: unwanted calls to WriteHeader() and improve logger
2022-10-08 13:07:19 +02:00
Kévin Dunglas
4c0dd41327
feat: improve PHP logger 2022-10-08 13:05:18 +02:00
Kévin Dunglas
ea5aa3d729
feat: add support for logs 2022-10-07 18:39:15 +02:00
Kévin Dunglas
f579793de9
fix: unwanted calls to WriteHeader() 2022-10-07 18:18:15 +02:00
Kévin Dunglas
2ced2afa49
Merge pull request #7 from dunglas/feat/improve-caddy
feat: improve Caddy module
2022-10-07 17:01:28 +02:00
Kévin Dunglas
c45a4c620f
feat: improve sessions handling in workers 2022-10-07 16:59:27 +02:00
Kévin Dunglas
0b8e322375
fix: preserve autoloading in worker mode 2022-10-06 15:25:58 +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
da50ea3e9a
feat: replace placeholders in worker file names 2022-10-04 14:51:50 +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
a3ba57f021
test: ensure memory safety when handling parallel requests (#3) 2022-05-23 11:57:30 +02:00
Kévin Dunglas
6da01cc858
refactor: minor cleanup 2022-05-21 11:03:10 +02:00
Kévin Dunglas
2b3475ed9d
docs: add examples 2022-05-20 09:42:30 +02:00
Kévin Dunglas
8c87075db8
docs: add an exemple 2022-05-19 17:42:12 +02:00
Kévin Dunglas
9761090c06
chore: fix some typos and conventions 2022-05-19 14:46:35 +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
Kévin Dunglas
0d1ff2c438
fix: uncomment free 2021-11-26 19:51:25 +01:00
Kévin Dunglas
92a4c21eb7
fix: use emalloc to allocate the context 2021-11-26 13:26:12 +01:00
Kévin Dunglas
f037ba937a
feat: better public API 2021-11-01 15:38:12 +01:00
Kévin Dunglas
290e9e1114
feat: Caddy module 2021-11-01 00:18:30 +01:00
Kévin Dunglas
a2607e6be7
initial commit 2021-09-24 18:52:20 +02:00