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

sozu-proxy / sozu / 1746
32%

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

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

Jobs
ID Job ID Ran Files Coverage
4 1746.4 (CODECOV=1) 10 Jan 2020 12:38PM UTC 0
39.88
Travis Job 1746.4
Source Files on build 1746
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1746
  • be5dd44b on github
  • Prev Build on master (#1745)
  • Next Build on master (#1750)
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