Commit Graph

24 Commits

Author SHA1 Message Date
Kévin Dunglas 822f80829e chore: bump deps 2024-03-12 22:20:16 +01:00
Kévin Dunglas 07a74e5c5a perf: reduce allocs when creating $_SERVER (#540)
* perf: reduce allocs when creating $_SERVER

* improve

* refactor: prevent C allocs when populating $_SERVER

* cs

* remove append()

* simplify

* wip

* cleanup

* add cache

* cleanup otter init

* some fixes

* cleanup

* test with a leak

* remove const?

* add const

* wip

* wip

* allocate dynamic variables in Go memory

* cleanup

* typo

* bump otter

* chore: bump deps
2024-03-12 18:31:30 +01:00
Kévin Dunglas 2d87fdaf0d more deps 2024-03-04 18:40:42 +01:00
Kévin Dunglas 1768f8b073 chore: bump deps 2024-03-04 18:40:42 +01:00
Kévin Dunglas feaa950d89 feat: compile with Go 1.22 (#568) 2024-02-12 10:00:46 +01:00
dependabot[bot] 9b09be22be chore: bump github.com/stretchr/testify from 1.8.1 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 00:45:24 +01:00
dependabot[bot] 4e00ed1a7b chore: bump golang.org/x/net from 0.18.0 to 0.19.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/net/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 00:44:30 +01:00
Kévin Dunglas 4c70ae285a chore: bump deps 2023-11-10 19:44:59 +01:00
Kévin Dunglas 385b47ee3b chore: bump deps 2023-10-27 07:29:06 +02:00
Kévin Dunglas 120006a297 chore: bump deps 2023-10-16 21:53:18 +02:00
Kévin Dunglas 123d167729 ci: release infrastructure (#213)
* ci: release infrastructure

* ci: release CircleCI binary

* fix circle

* fix Circle pipeline

* improve tags and docs

* improvements
2023-09-20 14:15:41 +02:00
Kévin Dunglas 3cc9650632 chore: use Caddy 2.7 2023-08-04 17:51:27 +02:00
Kévin Dunglas 2fdae4b310 chore: bump deps 2023-07-10 20:19:50 +02:00
Kévin Dunglas 35f2a4a852 ci: compile and run tests using setup-php (#157)
* ci: run tests without container

* try to use the embed SAPI

* fix build

* debug

* ctd

* cleanup

* use dev ini file

* disable xdebug

* errors

* fix

* phpinfo

* disable output_buffering

* enable debug symbols

* debug on linux

* debug

* fix config

* sudo

* better extension support

* enable opcache

* cleanup

* cleanup
2023-07-04 14:45:31 +02:00
Kévin Dunglas 198ab9403a chore: compile using Go 1.20 (#154) 2023-06-26 19:58:09 +02:00
Kévin Dunglas c7f76ebd16 ci: fix build and bump deps 2023-02-03 19:08:25 +01:00
Kévin Dunglas b719e1cbea docs: improve docs of the Go module (#25) 2022-10-15 11:54:42 +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 4c0dd41327 feat: improve PHP logger 2022-10-08 13:05:18 +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 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 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