Files
homelab-frontend/internal/server
Story Crater Bot 6cf5c3e5a9
Build / Build and push image (push) Successful in 34s
CI / Test, vet, build (push) Successful in 2m16s
fix(server): stop WriteTimeout from killing in-progress LLM streams
http.Server.WriteTimeout is an absolute deadline over the whole
response, not an inactivity timeout -- 15s was cutting off SSE streams
from the reasoning model mid-generation, surfacing to clients as a
"terminated" error well before the model finished. Switch to
ReadHeaderTimeout (protects against slow headers without capping body
duration) and raise WriteTimeout to match the edge nginx Ingress's
proxy-read/send-timeout of 3600s.
2026-08-21 20:06:10 -07:00
..