Commit Graph

342 Commits

Author SHA1 Message Date
Kévin Dunglas
e118b9f681 fix: potential crash when using apache_request_headers() 2024-02-01 00:14:33 +01:00
Kévin Dunglas
ab7ce9cb18 ci: temporary fix for Buildx crash 2024-01-31 16:29:45 +01:00
Kévin Dunglas
5afde55ebf ci: debug Docker buildx crash 2024-01-31 15:59:54 +01:00
Kévin Dunglas
da63e700b0 ci: fix scheduled Docker images build (ctd) 2024-01-31 15:21:03 +01:00
Kévin Dunglas
5a8e5f9518 feat: add apache_response_headers() function (#530) 2024-01-31 12:34:30 +01:00
Kévin Dunglas
3d9f344a50 docs: Docker image updates and tags 2024-01-30 22:07:33 +01:00
Kévin Dunglas
175b9a0296 feat: add Brotli compression support (#524) 2024-01-30 18:33:59 +01:00
Kévin Dunglas
65c8720250 ci: push dev Docker images to a dedicated repository 2024-01-30 18:17:02 +01:00
Kévin Dunglas
59dd04234f ci: fix scheduled Docker images build 2024-01-30 15:05:24 +01:00
Kévin Dunglas
36a6daa8ba docs: use tabs instead of spaces in Dockerfiles 2024-01-29 17:17:34 +01:00
Kévin Dunglas
85b36acce1 chore: comment logs directive 2024-01-29 17:17:12 +01:00
Kévin Dunglas
d9618ac917 chore: bump deps 2024-01-29 17:17:12 +01:00
Kévin Dunglas
be08c1e717 docs: run as non-root in Docker containers 2024-01-29 14:40:56 +01:00
Kévin Dunglas
62d53253d1 ci: add a bug report form 2024-01-29 14:08:16 +01:00
Leo Cavalcante
f35e276ee6 docs: fix worker mode Docker example (#516) 2024-01-29 14:06:27 +01:00
Leo Cavalcante
a736a5a2ce fix: adding extra libs to the static build (#517) 2024-01-29 13:59:46 +01:00
Rob Landers
c71e55551c add an issue template (#515) 2024-01-27 16:04:01 +01:00
Kévin Dunglas
7454826d4b ci: use cgocheck2 when possible 2024-01-23 23:14:24 +01:00
Kévin Dunglas
49baf02035 feat: add go_apache_request_headers() 2024-01-23 23:14:24 +01:00
Pierre du Plessis
a92d774742 fix: check for custom php.ini before checking for the Caddyfile (#498) 2024-01-22 22:26:20 +01:00
Pierre du Plessis
effb5805f1 feat: allow custom php.ini file in embedded apps (#497) 2024-01-22 14:01:27 +01:00
Pierre du Plessis
5d32f32639 feat: option to start a Mercure.rocks hub when running php-server (#489)
---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-22 13:35:19 +01:00
Pierre du Plessis
bccbaafc84 feat: load custom Caddyfile from embedded app if it exists (#494)
---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-22 13:31:12 +01:00
Pierre du Plessis
6f108a4203 fix: do not extract embedded app on every execution (#488)
* Do not extract embedded app on every execution

* Add app_checksum.txt to .dockerignore

* Rename embeddedAppHash to embeddedAppChecksum

* Remove check for empty directory
2024-01-21 18:13:08 +01:00
Kévin Dunglas
3bdd6fd072 docs: improved rendering of Laravel Octane options (#479) 2024-01-20 13:31:32 +01:00
Eduardo Rocha
183451a13f Add note about musl libc (#485)
* Add note about musl libc

* Update known-issues.md

* Update known-issues.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-20 13:29:40 +01:00
Jochen
2ef7762068 docs: PHP configuration guide (#486)
* docs: php configuration guide

* Update config.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-20 13:19:45 +01:00
Kévin Dunglas
b624a13430 docs: improve HTTPS documentation (#480) 2024-01-20 11:49:16 +01:00
Kévin Dunglas
00b1d0e4b6 docs: add production deployment guide (#471)
* docs: update README and add guide for deploying FrankenPHP on Digital Ocean

* Update docs/deploy-frankenphp-digital-ocean.md

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

* Update docs/deploy-frankenphp-digital-ocean.md

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

* rewrite

* add images

* linter

* missing dot

---------

Co-authored-by: Trusted97 <benux9700@gmail.com>
Co-authored-by: Gianluca <37697178+Trusted97@users.noreply.github.com>
2024-01-12 16:53:50 +01:00
Kévin Dunglas
d4c313f3db ci: fix static binary copy (#451)
* ci: fix static binary copy

* Update static.yaml

Co-authored-by: Rob Landers <landers.robert@gmail.com>

* fix

* fix

* fix

---------

Co-authored-by: Rob Landers <landers.robert@gmail.com>
2024-01-08 12:03:36 +01:00
Mr Alexandre J-S William ELISÉ
f19c153d06 docs: update worker.md to prevent infinite loop (#455)
* Update worker.md to prevent infinite loop

Quick fix typo `<=` rather than `>=` which prevents infinite loop and get out of the loop when MAX_REQUESTS is reached.

* Update worker.md to fix impossible evaluation

Fix impossible case where if MAX_REQUESTS is not defined the rest of the condition is not evaluated as it is an && operator as mentioned by https://github.com/dunglas/frankenphp/discussions/453#discussioncomment-7981535

* Update worker.md change to for loop and remove handler from the loop

Change to for loop and remove handler from the loop based on the feedback https://github.com/dunglas/frankenphp/pull/455#discussion_r1438918811
2024-01-08 08:17:08 +01:00
naoki kuroda
3692818d0c perf: optimize cookie handling in request (#459)
Signed-off-by: nnnkkk7 <kurodanaoki0711pana@gmail.com>
2024-01-08 08:14:49 +01:00
Rob Landers
7830aae549 Ensure we don't modify a shared env (#452)
* Ensure we don't modify a shared env

* Update worker.go

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

* Update worker.go

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2023-12-31 20:02:11 +01:00
Rob Landers
2055142904 apply just an optimization (#450) 2023-12-30 11:21:21 +01:00
Kévin Dunglas
9b9957f5cf chore: prepare release 1.0.3 caddy/v1.0.3 v1.0.3 2023-12-29 22:50:56 +01:00
Rob Landers
5bda50cbd7 Fix memory leak (#442)
* do not use caddy context

* ensure all handles are cleaned up

* do not export types

* just panic when double deleting a handle

* set the minimal capacity

* remove micro-opt

* move handle cleanup to just before we return from serveHttp

* ensure we clean up cli scripts

* handle cgi-mode free

* micro-optimization: set initial capacity
2023-12-28 00:16:19 +01:00
Kévin Dunglas
11711bb6da chore: prepare release 1.0.2 caddy/v1.0.2 v1.0.2 2023-12-25 17:12:41 +01:00
Kévin Dunglas
497876443c ci: fix static image inspect 2023-12-25 10:20:28 +01:00
Kévin Dunglas
94776119bd ci: fix static image inspect 2023-12-25 02:02:34 +01:00
Kévin Dunglas
229cb9e3e6 ci: fix static tagged builds 2023-12-24 12:35:55 +01:00
Kévin Dunglas
67fdefc416 ci: build Linux aarch64 binaries (#432) 2023-12-24 11:35:59 +01:00
Kévin Dunglas
e962f4394f ci: fix Docker builds 2023-12-24 11:34:48 +01:00
Kévin Dunglas
0054b92115 docs: link to TYPO3 skeleton 2023-12-23 21:39:48 +01:00
Kévin Dunglas
34e4ef1e84 ci: fix scheduled builds 2023-12-23 15:02:09 +01:00
Kévin Dunglas
9bf991ca88 ci: add igbinary extension and LZ4 support to static builds 2023-12-23 14:22:06 +01:00
Kévin Dunglas
64672a267a chore: bump deps (#429) 2023-12-22 16:54:05 +01:00
Kévin Dunglas
f16cb0b5f0 ci: allow building manually (#427) 2023-12-22 16:53:42 +01:00
Kévin Dunglas
efa49848e4 ci: remove armv6 Debian images (#431) 2023-12-22 16:45:51 +01:00
Kévin Dunglas
2eabec8c92 ci: fix static binary release 2023-12-20 19:44:48 +01:00
thecaliskan
f6873efee4 Added Laravel Octane Documentation (#422)
* Added Laravel Octane Documentation

* fixed lint

---------

Co-authored-by: Emre Çalışkan <emre.caliskan@beyn.com.tr>
2023-12-20 18:07:24 +01:00