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

MapServer / MapServer / 25799776167 / 1
42%
main: 42%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 12:51PM UTC
Files 198
Run time 7s
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 12:42PM UTC coverage: 42.439% (+0.002%) from 42.437%
25799776167.1

push

github

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

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: Even Rouault <even.rouault@spatialys.com>

64639 of 152312 relevant lines covered (42.44%)

27394.91 hits per line

Source Files on job 25799776167.1
  • Tree
  • List 198
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25799776167
  • 9e1ae01f on github
  • Prev Job for on main (#25798494916.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