summaryrefslogtreecommitdiff
path: root/static/html/about.htm
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-14 20:22:26 -0500
committerChristian Cleberg <[email protected]>2026-07-14 20:22:26 -0500
commit5763dc3cfeadf491d6eda3b6a91623f86396a134 (patch)
treee75db0fb1e45f91628a2e84df0754e2d59cdcb1f /static/html/about.htm
parent8a00f7c55cdbcddcd878c01a79f2db7dc3f080ef (diff)
downloadskunky-art-5763dc3cfeadf491d6eda3b6a91623f86396a134.tar.gz
skunky-art-5763dc3cfeadf491d6eda3b6a91623f86396a134.tar.bz2
skunky-art-5763dc3cfeadf491d6eda3b6a91623f86396a134.zip
feat: throttle and time out outbound DeviantArt requests
DeviantArt fronts its API with CloudFront + WAF, which bans egress IPs that hit it too hard. devianter issues requests with a bare http.Client, so unbounded concurrent handlers each pulled ~150-200 KB of JSON, which both risked a ban and could exhaust the process under a bot flood. Wrap the default transport to bound rate and concurrency for deviantart.com and add timeouts. Other hosts (wixmp image CDN) pass straight through, so media stays fast, and ProxyFromEnvironment is preserved so HTTPS_PROXY egress still works.
Diffstat (limited to 'static/html/about.htm')
0 files changed, 0 insertions, 0 deletions