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

Gallopsled / pwntools / 23453740675
74%

Build:
DEFAULT BRANCH: dev
Ran 23 Mar 2026 06:40PM UTC
Jobs 1
Files 152
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 Mar 2026 04:15PM UTC coverage: 73.613% (+0.02%) from 73.593%
23453740675

push

github

web-flow
Fix `server.close()` not closing the listen socket (#2682)

* Fix `server.close()` not closing the listen socket

It would block on `accept` forever, not freeing the listening port.
Break out of `accept()` regularly to check if the socket was closed in the meantime and stop the thread.

* Update CHANGELOG

* Fix `listen.close()` not closing the listen socket

If `close()` was called before a connection was accepted,
the listen socket would not be closed.

* Fix closing listen socket on Windows

Windows throws an ENOTSOCK instead of an EBADF.

* Keep timeout on child socket tube

3874 of 6532 branches covered (59.31%)

12 of 16 new or added lines in 2 files covered. (75.0%)

13385 of 18183 relevant lines covered (73.61%)

0.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
80.58
-0.86% pwnlib/tubes/listen.py
1
81.4
4.57% pwnlib/tubes/server.py
Jobs
ID Job ID Ran Files Coverage
1 23453740675.1 23 Mar 2026 06:40PM UTC 152
73.61
GitHub Action Run
Source Files on build 23453740675
  • Tree
  • List 152
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • c2f3a2df on github
  • Prev Build on dev (#23386052467)
  • Next Build on dev (#23453914626)
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