Files
llama-swap/proxy
Benson Wong f852689104 proxy: add panic recovery to Process.ProxyRequest (#363)
Switching to use httputil.ReverseProxy in #342 introduced a possible
panic if a client disconnects while streaming the body. Since llama-swap
does not use http.Server the recover() is not automatically there.

- introduce a recover() in Process.ProxyRequest to recover and log the
  event
- add TestProcess_ReverseProxyPanicIsHandled to reproduce and test the
  fix

fixes: #362
2025-10-25 20:40:05 -07:00
..
2025-06-16 16:45:19 -07:00
2025-07-01 22:17:35 -07:00
2025-07-15 18:04:30 -07:00
2025-04-01 08:43:53 -07:00
2025-06-16 16:45:19 -07:00