Robert Landers
8c88ad0086
fix lint
2024-09-12 21:34:14 +02:00
Robert Landers
031e8914b5
add performance math
2024-09-12 21:27:46 +02:00
Alexander Stecher
a4ac4eb3fb
fix: placeholders in environement variables ( #1018 )
...
* Fixes checking the env key instead of the value.
* Adds custom variable test.
---------
Co-authored-by: a.stecher <a.stecher@sportradar.com >
2024-09-04 20:57:17 +02:00
Kévin Dunglas
dcf190ebcb
chore: prepare release 1.2.5
caddy/v1.2.5
v1.2.5
2024-08-27 12:03:36 +02:00
Kévin Dunglas
d968334371
chore: bump deps
2024-08-27 12:02:39 +02:00
Kévin Dunglas
47257ec919
docs: add performance docs ( #1004 )
...
* docs: add performance docs
* docs: add PHP performance section
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/performance.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* typo
* musl
* musl fixes
* add log section
* french translation
* typo
---------
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
2024-08-27 11:45:56 +02:00
Kévin Dunglas
a16076e082
perf: prevent useless logger allocs
2024-08-27 11:03:01 +02:00
Alexander Stecher
f5bec5c13c
fix(caddy): resolve_root_symlink not taken into account ( #1001 )
...
* Prevents parsing from always throwing an error.
* Removes empty line.
* Accepts suggestions.
* Accepts suggestions.
* Fixes syntax.
* Fixes formatting.
* chore: use a guard close
---------
Co-authored-by: a.stecher <a.stecher@sportradar.com >
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2024-08-26 20:30:42 +02:00
Kévin Dunglas
db12b4e113
perf: cache document root resolution when possible
2024-08-26 20:26:27 +02:00
Kévin Dunglas
4a8555571c
docs: fix build/curl instructions in more languages
2024-08-24 08:30:00 +02:00
David Legrand
d12551762f
docs: fix build/curl instructions ( #998 )
...
The `z` was missing and there was an error after download:
```
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
```
2024-08-23 16:07:42 +02:00
Kévin Dunglas
27ca1ae4f7
feat(static): add HTTP/2 support for ext-curl
2024-08-20 16:38:53 +02:00
Kévin Dunglas
60e3aba981
docs: fix and improve compilation docs
2024-08-20 09:55:33 +02:00
Kévin Dunglas
7a524ddbd5
ci: add back -Wall -Werror
2024-08-20 01:36:26 +02:00
Kévin Dunglas
ac37760e37
docs: create SECURITY.md
2024-08-13 16:08:59 +02:00
Kévin Dunglas
496831329f
ci: run tests with PHP 8.4
2024-08-13 09:46:54 +02:00
Kévin Dunglas
ba58e3d829
chore: prepare release 1.2.4
caddy/v1.2.4
v1.2.4
2024-08-12 10:05:10 +02:00
Rob Landers
d532772355
fix: reset sapi response code ( #964 )
...
* fix: reset sapi response code
It turns out that the sapi response code is NOT reset between requests by the zend engine. This resets the code for cgi-based requests.
fixes : #960
* update response header test
* fix assertion
* appears to affect workers too
2024-08-11 22:34:50 +02:00
Kévin Dunglas
3ca52f5934
ci: generate SLSA attestations for static binaries
2024-08-09 22:47:50 +02:00
Kévin Dunglas
968176a948
ci: run tests with ASAN and MSAN ( #955 )
2024-08-09 18:18:15 +02:00
Kévin Dunglas
2af8fd2e31
chore: remove useless cgo directive
2024-08-06 22:57:04 +02:00
Kévin Dunglas
26cfcc145a
chore: prepare release 1.2.3
caddy/v1.2.3
v1.2.3
2024-08-05 23:27:19 +02:00
Kévin Dunglas
fd97c977c1
chore: bump deps ( #954 )
2024-08-05 15:48:25 +02:00
Kévin Dunglas
6c708be99d
ci: upgrade to super-linter 6 ( #952 )
2024-08-04 14:05:54 +02:00
Kévin Dunglas
bcc825a121
ci: switch to super-linter slim variant
2024-08-02 17:33:18 +02:00
Kévin Dunglas
4de9abb49d
chore: bump deps
2024-08-02 12:19:03 +02:00
Alexander Makarov
93859e3149
docs: fix assorted typos ( #942 )
2024-07-27 00:07:52 +02:00
Rob Landers
fb23c64632
perf: cgi-mode 1700% improvement ( #933 )
...
* major perf
* clean up before thread returns
* fix lint
* clean up and refactor server-context initialization
* removing the request-startup memset
I'm electing to remove the memset at startup and keeping it in shutdown. Why? Security! Keeping around the request data after a request may result in a leak of important information in a core dump or something. By setting it to zero when we shutdown the request, we can ensure no information is left laying around
2024-07-26 09:22:08 +02:00
Jerry Ma
323edefc4b
chore: add prefer-pre-built option for spc download ( #921 )
2024-07-14 18:13:22 +02:00
Fabien Papet
a6572225f6
docs: fix port number in French version ( #919 )
2024-07-12 10:55:21 +02:00
Kévin Dunglas
6d5cb37647
chore: prepare release 1.2.2
caddy/v1.2.2
v1.2.2
2024-07-11 14:09:52 +02:00
Kévin Dunglas
0751f453b9
fix: create a custom Go build when using musl to prevent a crash ( #913 )
2024-07-11 10:26:28 +02:00
Kévin Dunglas
4fab5a3169
docs: fix php.ini path for static binaries
2024-07-10 14:08:11 +02:00
Kévin Dunglas
e743f6ab87
docs: customizing the configuration ( #911 )
...
* docs: customizing the configuration
* Update docs/config.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update docs/fr/config.md
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
* Update embed.md
---------
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de >
2024-07-09 16:13:55 +02:00
Kévin Dunglas
0500ebc191
perf: improve PHP thread management ( #898 )
2024-07-09 09:39:03 +02:00
Kévin Dunglas
b87cf4e8b9
chore: bump deps
2024-07-08 16:21:06 +02:00
Kévin Dunglas
ebdb2656b6
fix: deprecated Dockerfile ENV syntax
2024-07-05 11:34:47 +02:00
Kévin Dunglas
29d47f42c8
chore: switch back to upstream Static PHP CLI
2024-07-05 11:12:34 +02:00
Kévin Dunglas
ae4ebd11f6
fix: downgrade to Go 1.22.4 for Alpine builds
2024-07-03 17:02:37 +02:00
Kévin Dunglas
8ff6cfdda8
refactor: prevent a useless allocation ( #895 )
...
* refactor: prevent a useless allocation
* cs
2024-06-28 16:46:34 +02:00
Kevin Detournay
952dd7a79b
docs: use octane:frankenphp instead of octane:start ( #893 )
...
to be more consistent with OFFICIAL laravel documentation
(basically octane:start comment , will
check your env octane server and call octane:frankenphp )
Co-authored-by: kevin <kevin@popsell.com >
2024-06-28 12:11:43 +02:00
Kévin Dunglas
213be22967
docs: fix linter
2024-06-27 14:10:51 +02:00
Simon
11e3745b8b
docs: explain how to fix SSL/TLS-related issues ( #888 )
...
* mail tls issues documentation
* fix linting
* Update known-issues.md
* Update known-issues.md
* Update known-issues.md
---------
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr >
2024-06-27 13:49:16 +02:00
Kévin Dunglas
153e7d6686
chore: simplify log config ( #887 )
...
* chore: simplify log config
* review
2024-06-25 23:13:57 +02:00
Kévin Dunglas
a313f3a809
chore: prepare release 1.2.1
caddy/v1.2.1
v1.2.1
2024-06-24 17:37:19 +02:00
Kévin Dunglas
e45a788824
fix(caddy): incorrectly prepared environment variables when not using Caddyfile
2024-06-24 17:36:06 +02:00
Kévin Dunglas
549239d16f
chore: bump deps
2024-06-24 13:57:41 +02:00
Kévin Dunglas
b47f4d3aa0
fix(static): unbundle parallel extension
2024-06-24 13:53:32 +02:00
Kévin Dunglas
d6d1b2731c
feat: add support for max_input_time in worker mode ( #874 )
2024-06-18 12:00:01 +02:00
dependabot[bot]
e0ccd816e6
ci: bump docker/bake-action from 4 to 5
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 4 to 5.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-17 14:42:51 +02:00