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

MapServer / MapServer / 25806643503 / 1
42%
main: 42%

Build:
Build:
LAST BUILD BRANCH: fix_7483
DEFAULT BRANCH: main
Ran 13 May 2026 02:56PM UTC
Files 192
Run time 14s
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

13 May 2026 02:46PM UTC coverage: 41.803% (+0.001%) from 41.802%
25806643503.1

push

github

web-flow
mapserv: exit FastCGI loop promptly on SIGTERM/SIGUSR1 (#7506)

When mapserv is built with FastCGI and is idle inside FCGI_Accept(),
SIGTERM only sets finish_process=1 and is masked by the SA_RESTART
default of signal(), so the blocking accept()/select() resumes and the
process appears hung until the next request arrives.

Call FCGX_ShutdownPending() from the handler (signal-safe; sets
libfcgi's internal shutdown flag) and install handlers via sigaction()
with sa_flags=0 so the syscall returns EINTR. libfcgi then returns -1
from FCGI_Accept() and the loop exits cleanly.

Assisted-by: GitHub Copilot (Claude Opus 4.7)

Co-authored-by: Grant Slater <github@firefishy.com>
Co-authored-by: Even Rouault <even.rouault@spatialys.com>

62995 of 150694 relevant lines covered (41.8%)

25377.55 hits per line

Source Files on job 25806643503.1
  • Tree
  • List 192
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25806643503
  • 2c7aed48 on github
  • Prev Job for on branch-8-6 (#25799423251.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc