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

zeromq / libzmq / 28624297691
75%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2026 10:03PM UTC
Jobs 1
Files 217
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

02 Jul 2026 10:00PM UTC coverage: 75.336% (-0.2%) from 75.486%
28624297691

push

github

bluca
Fix GSSAPI PUB/SUB subscription corruption on reconnection

Problem: When GSSAPI encryption is active, subscribe and cancel message
flags (msg_t::subscribe = 12, msg_t::cancel = 16) were not preserved
through the encode_message/decode_message round-trip.

encode_message() only captured the 'more' (bit 0) and 'command' (bit 1)
flags in the wire flags byte. The subscribe flag occupies bits 2-3
(value 12) and cancel occupies bit 4 (value 16) — both outside the
captured range, so they were silently zeroed on decoding.

After decode_message(), xpub_t::xread_activated() would not recognise
the arriving message as a subscribe or cancel command, causing
subscriptions to be silently dropped after reconnection (when
xhiccuped() re-sends cached subscriptions through the GSSAPI path).

Solution: Encode the subscribe flag into wire bit 2 (0x04) and the
cancel flag into wire bit 3 (0x08) in encode_message(), and restore
them via set_flags(msg_t::subscribe) / set_flags(msg_t::cancel) in
decode_message().

15132 of 20086 relevant lines covered (75.34%)

26482.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
79
0.0
0.0% libzmq/src/gssapi_mechanism_base.cpp
12
80.56
-16.67% libzmq/src/lb.cpp
6
86.65
-0.53% libzmq/src/socket_base.cpp
6
73.68
-10.53% libzmq/src/tipc_connecter.cpp
Jobs
ID Job ID Ran Files Coverage
1 28624297691.1 02 Jul 2026 10:03PM UTC 217
75.34
GitHub Action Run
Source Files on build 28624297691
  • Tree
  • List 217
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ccfe5082 on github
  • Prev Build on master (#28621631257)
  • Next Build on master (#28625968835)
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