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

httprb / http / 1051
97%
master: 94%

Build:
Build:
LAST BUILD BRANCH: 5-x-stable
DEFAULT BRANCH: master
Ran 09 Sep 2015 08:34AM UTC
Jobs 8
Files 25
Run time 4min
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
1051

push

travis-ci

tarcieri
Unified exceptional/exceptionless non-blocking I/O

The main motivation for this change is because JRuby 9000 supports exceptionless
non-blocking I/O for TCPSockets but not for SSLSockets. Both accept the
":exception => false" syntax, so it's harmless to pass it to SSLSockets even
though they silently ignore it.

It also adds handling non-blocking reads during writes and writes during reads,
which is necessary for SSLSockets to work correctly on all platforms (i.e. an
SSL handshake might require performing a read for a write to complete, or vice
versa)

I'm pleased with the result in as much as it provides a single approach which
covers all cases. The readpartial / write and wait_readable_or_timeout /
wait_writable_or_timeout methods are almost identical at this point and are
clearly ripe for some DRY-out refactoring.

51 of 51 new or added lines in 1 file covered. (100.0%)

1061 of 1106 relevant lines covered (95.93%)

721.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
lib/http/timeout/global.rb
Jobs
ID Job ID Ran Files Coverage
1 1051.1 (1.9.3) 09 Sep 2015 08:35AM UTC 0
93.82
Travis Job 1051.1
2 1051.2 (2.0.0) 09 Sep 2015 08:34AM UTC 0
93.82
Travis Job 1051.2
3 1051.3 (2.1) 09 Sep 2015 08:34AM UTC 0
94.31
Travis Job 1051.3
4 1051.4 (2.2) 09 Sep 2015 08:34AM UTC 0
94.31
Travis Job 1051.4
5 1051.5 (jruby) 09 Sep 2015 08:36AM UTC 0
93.01
Travis Job 1051.5
6 1051.6 (jruby-head) 09 Sep 2015 08:38AM UTC 0
93.55
Travis Job 1051.6
7 1051.7 (ruby-head) 09 Sep 2015 08:35AM UTC 0
94.31
Travis Job 1051.7
8 1051.8 (rbx-2) 09 Sep 2015 08:38AM UTC 0
95.81
Travis Job 1051.8
Source Files on build 1051
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1051
  • 52bc4530 on github
  • Next Build on tonyarcieri/unified-nbio-strategy (#1053)
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

© 2025 Coveralls, Inc