feat: auto-rotate proxy pool with retry on network failure
- Add src/lib/proxy-pool.ts: round-robin proxy pool that reads proxy.txt (host:port:user:pass), tracks consecutive failures, and rotates on threshold - Integrate into src/index.ts: on fetch network error, mark proxy as failed, rotate to next, and retry the request once - proxy.txt loaded from PROXY_FILE/PROXY_LIST env var or ./proxy.txt - Graceful no-op when proxy.txt doesn't exist (Vercel/Workers) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
3f96d8a6e7
commit
03427cae8c
@@ -0,0 +1,10 @@
|
||||
38.154.203.95:5863:eoimpusi:27ije2xpgvl9
|
||||
198.105.121.200:6462:eoimpusi:27ije2xpgvl9
|
||||
64.137.96.74:6641:eoimpusi:27ije2xpgvl9
|
||||
209.127.138.10:5784:eoimpusi:27ije2xpgvl9
|
||||
38.154.185.97:6370:eoimpusi:27ije2xpgvl9
|
||||
84.247.60.125:6095:eoimpusi:27ije2xpgvl9
|
||||
142.111.67.146:5611:eoimpusi:27ije2xpgvl9
|
||||
191.96.254.138:6185:eoimpusi:27ije2xpgvl9
|
||||
31.58.9.4:6077:eoimpusi:27ije2xpgvl9
|
||||
104.239.107.47:5699:eoimpusi:27ije2xpgvl9
|
||||
Reference in New Issue
Block a user