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

sozu-proxy / sozu / 1209
32%

Build:
DEFAULT BRANCH: master
Ran 10 Sep 2018 11:29AM UTC
Jobs 1
Files 53
Run time 5s
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

pending completion
1209

cron

travis-ci

Geal
Do not forget to clear the backend token when returning ReconnectBackend

This caused an annoying bug:

- when handling ReconnectBackend, the event loop will remove from the
slab the client entry corresponding to the backend token
- the backend token could then be reused as frontend token for
another session
- then the first session is closed. In the event loop's close_client
method, we call cthe close() method on the client structure, which will
return its frontend token (still valid) and its backend token (which has
been given to another session)
- close_client will then remove all of the slab entries corresponding to
these tokens, and then removing the second session

This bug was detectable because some metrics are updated when we close a
session:
- client.connections is decremented in close_client()
- backend.connections, http.active_requests, protocol.proxy.expect,
protocol.tls.handshake, protocol.https, protocol.wss are decremented in
the session's close() method
- since the session was deleted without calling close_client, those
metrics would appear to increase indefinitely

5352 of 13430 relevant lines covered (39.85%)

0.45 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1209.4 10 Sep 2018 11:29AM UTC 0
39.85
Travis Job 1209.4
Source Files on build 1209
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1209
  • 5ca1a7d1 on github
  • Prev Build on master (#1203)
  • Next Build on master (#1212)
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