• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thumbor / remotecv / 39878788232
94%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2026 12:33AM UTC
Jobs 5
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2026 12:33AM UTC coverage: 87.864% (+3.2%) from 84.629%
39878788232

push

github

web-flow
Add timeout, body size limit and scheme check to HTTP loader (#116)

load_sync called urlopen with no timeout and read the whole response into
memory, and urllib's default redirect handler follows redirects to ftp as
well as http(s). The URL comes from the job payload, which in the thumbor
integration is the end user's image URL, so a single slow or oversized
origin could pin a worker child indefinitely or exhaust its memory, and a
redirect could point the worker at a scheme nobody intended it to speak.

The loader now opens the URL through an opener whose redirect handler only
accepts http and https, rejects the initial URL when its scheme is anything
else, applies a configurable socket timeout (--loader-timeout, default 20s) and
enforces an optional maximum body size (--loader-max-body-size, checked against
a well-formed Content-Length first and then against the bytes actually read).
Both options refuse at startup the values that would fail every fetch (a
timeout that is zero, negative, NaN or infinite, a negative size). The body
limit defaults to 0 (unlimited) to keep existing deployments working; the
timeout is per socket operation, so DETECTOR_TIMEOUT remains the hard cap for a
slowly dripping origin. This change is stacked on #123 and should merge after
it.

45 of 45 new or added lines in 2 files covered. (100.0%)

543 of 618 relevant lines covered (87.86%)

4.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.11 - 39878788232.1 23 Oct 2026 12:33AM UTC 25
87.86
GitHub Action Run
2 run-3.13 - 39878788232.2 23 Oct 2026 12:34AM UTC 25
87.86
GitHub Action Run
3 run-3.10 - 39878788232.3 23 Oct 2026 12:34AM UTC 25
87.86
GitHub Action Run
4 run-3.12 - 39878788232.4 23 Oct 2026 12:33AM UTC 25
87.86
GitHub Action Run
5 run-3.14 - 39878788232.5 23 Oct 2026 12:34AM UTC 25
87.86
GitHub Action Run
Source Files on build 39878788232
  • Tree
  • List 25
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39878788232
  • d21f1c40 on github
  • Prev Build on master (#39877984485)
  • Next Build on master (#39880433329)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc