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

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

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2020 12:38PM UTC
Files 55
Run time 3s
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

10 Jan 2020 12:01PM UTC coverage: 39.875% (-0.1%) from 39.976%
CODECOV=1

push

travis-ci

Geoffroy Couprie
force session shutdown in more cases

shutting down or upgrading had issues with long running connections
(WebSockets or HTTP keep alive with regular requests). Those sessions
were never closing and preventing the shutdown of workers.

For websockets, we cannot know when the connection can be safely closed,
as it depends on the application's protocol, but websocket clients are
commonly designed to handle reconnections. So websocket connections will
be closed directly during shutdown.

For HTTP sessions with keep alive, the right way would be to add a "Connection:
Close" header on the next request to the session, and to the next response,
and after that response we can safely close. This is a bit difficult to
do for now, and I'd rather wait for the HTTP implementation rewrite for
this. In the meantime, it is allowed to close an idle connection (the
entire response was sent, waiting for the next request), so if a sssion
is in that state, we will close it. There is still an edge case for
sessions where any time we check its status, it is again in the middle
of a request or response

5567 of 13961 relevant lines covered (39.88%)

0.48 hits per line

Source Files on job 1746.4 (CODECOV=1)
  • Tree
  • List 0
  • Changed 17
  • Source Changed 7
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 311
  • Travis Job 1746.4
  • be5dd44b on github
  • Prev Job for CODECOV=1 on master (#1745.4)
  • Next Job for CODECOV=1 on master (#1750.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