Files
botfights/server
DorianandClaude Fable 5 a95cadaf9e
CI / check (push) Failing after 6m14s
test(09-01): verify x-forwarded-for over a real socket, not just presence
The prior test drove the proxying app via Hono's in-process app.request()
harness, which has no real Node socket — so it could only assert the header
was non-empty-or-absent, not that the real client IP round-trips. Spin the
proxying app up with @hono/node-server (real loopback socket) and assert the
upstream actually receives 127.0.0.1/::1, exercising the same
remoteAddress lookup arenaProxy uses in production.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 21:34:13 -04:00
..
2026-03-09 00:30:43 +00:00