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

sozu-proxy / sozu / 1203 / 4
32%
master: 32%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2018 02:46PM UTC
Files 53
Run time 21s
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

07 Sep 2018 02:30PM UTC coverage: 39.851% (-0.01%) from 39.863%
1203.4

push

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

Source Files on job 1203.4
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 150
  • Travis Job 1203.4
  • 5ca1a7d1 on github
  • Prev Job for on master (#1196.4)
  • Next Job for on master (#1209.4)
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