Direct error through Caddy's error route
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 43/100
Línea de trabajo
Start by reading the implementation and tests for FrankenPHP's error handling, then compare how Caddy's error route is used by the linked caddy-crowdsec-bouncer example, especially its enable_caddy_error option. The issue asks for an option to direct FrankenPHP level errors to that route so Caddy can serve a custom error page; done means the option works for those errors and is covered by tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe your feature request
Is your feature request related to a problem? Please describe.
As result of #2711 I am seeing frequent maximum request handling time exceeded pages, which are just black-on-white. This is not exactly consistent with whatever style a website can have, and thus it can potentially confuse users. While web-server failures generally should break the flow and standout, this is a bit much.
Describe the solution you'd like
Caddy has errors route, that allows "secondary" processing, including serving custom error pages (static or not). It would be nice to have an option to direct FrankenPHP-level errors to that route, to be able to customize the error page. Should be similar to enable_caddy_error in https://github.com/hslatman/caddy-crowdsec-bouncer
Describe alternatives you've considered
I can't think of any alternatives really. Maybe to catch the response on Caddy level somehow, perhaps based on combination of response headers. But that feels "messy", when there literally is a route to do handle error events in Caddy.
- Lenguaje dominante
- Go
- Estrellas
- 11.4k
- Forks
- 499
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 34
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de php/frankenphp
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
php/frankenphp#2671 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Include frankenphp version in logsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#2483 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
suggestion about compile.mdQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoenhancement
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
php/frankenphp#601 · 5 comentarios ·
Los mantenedores suelen responder en 1 día
-
Re-apply SA_ONSTACK to every extension signal handler, not only SIGSEGV/SIGBUS/SIGFPEPosiblemente ocupada @mstegmeyer la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
php/frankenphp#2745 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
v1.13.2 static linux-x86_64: SIGILL in `hash('sha256')` on CPUs without SHA-NI (Cascade Lake)Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
php/frankenphp#2743 · 5 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de php/frankenphp
Issues similares
-
feature suggestion
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
openvibely/openvibely#1526 ·
Los mantenedores suelen responder en 1 día
-
docs good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Usenova-Labs/usenova-backend#36 ·
Los mantenedores suelen responder en 1 día
-
bug raised-by:verifier
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
medici-finance/assay#4177 ·
Los mantenedores suelen responder en 1 día
-
bug: admin user creation silently ignores rolePosiblemente ocupada @bfs2021 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
eugenioenko/autentico#553 ·
Los mantenedores suelen responder en 1 día
-
sidecar: --moriio-parallel-dispatch omits remote_request_id, so a vLLM NixlPushConnector decode dies with KeyErrorPosiblemente ocupada @xintin la tomó hoy. Abiertokind/bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
llm-d/llm-d-router#3607 ·
Los mantenedores suelen responder en 1 día