When Microsoft Sentinel rejects a request (HTTP 502 with 'Sentinel' in body), the session was being reused on every retry — hammering the same poisoned session and making the block worse. Now: detect Sentinel response, evict the session from cache, and return a rateLimitError so stale-on-failure kicks in and users get the last cached link instead of an error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||