windows-iso-downloader/backend
Shekhar Vaidya 0525015ca9 fix(backend): detect Sentinel in JSON Errors field, evict session on block
Microsoft's WAF returns HTTP 200 with {"Errors":[{"Value":"Sentinel marked
this request as rejected."}]}. The existing Sentinel check only ran for
non-200 responses, so the session was never evicted — every subsequent
request reused the poisoned session and hit Sentinel again.

Add the same eviction + rateLimitError logic inside the errMap["Value"]
branch so the session is evicted regardless of the WAF's HTTP status code.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 11:13:34 +05:30
..
Dockerfile fix: bump Dockerfile to golang:1.25-alpine to match go.mod requirement 2026-05-18 22:51:25 +05:30
go.mod feat: Phase 3 crowdsourced cache contribution 2026-06-18 14:07:35 +05:30
go.sum feat: Phase 3 crowdsourced cache contribution 2026-06-18 14:07:35 +05:30
main.go fix(backend): detect Sentinel in JSON Errors field, evict session on block 2026-06-22 11:13:34 +05:30