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

tarcieri / http / 571
94%
master: 95%

Build:
Build:
LAST BUILD BRANCH: feature/multipart-post
DEFAULT BRANCH: master
Ran 21 Jun 2014 11:52AM UTC
Jobs 8
Files 22
Run time 6min
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
571

push

travis-ci

ixti
Explicitly stringify readpartial result

Consuming chunked stream may lead into unexpected `nil`s at any time of
consumption. Thus we should return `nil` only when `@socket` was closed.

Chunked responses are streamed in chunks. Each (full) chunk consist of:

  BYTES CRLF
  DATA CRLF

But socket does not care about consistency of those chunk, thus it's
common when we got only first part: `BYTES CRLF`. At this point we feed
this to http_parser which does not emits `on_data` event and our own
Parser `@chunk` ivar remains `nil` after previous flush.

This is no an ideal solution. Ideally we should relay explicitly on
http_parser `#finished?` flag instead. So this should be kept in mind
upon connection exctraction and refactoring.

Resolves #137

694 of 743 relevant lines covered (93.41%)

164.4 hits per line

Jobs
ID Job ID Ran Files Coverage
2 571.2 (1.9.2) 21 Jun 2014 11:52AM UTC 0
93.23
Travis Job 571.2
3 571.3 (1.9.3) 21 Jun 2014 11:52AM UTC 0
94.38
Travis Job 571.3
4 571.4 (2.0.0) 21 Jun 2014 11:52AM UTC 0
94.38
Travis Job 571.4
5 571.5 (2.1.0) 21 Jun 2014 11:53AM UTC 0
94.38
Travis Job 571.5
6 571.6 (rbx-2) 21 Jun 2014 11:57AM UTC 0
97.98
Travis Job 571.6
7 571.7 (ruby-head) 21 Jun 2014 11:55AM UTC 0
94.38
Travis Job 571.7
9 571.9 (jruby-19mode, JRUBY_OPTS="$JRUBY_OPTS --debug") 21 Jun 2014 11:56AM UTC 0
94.05
Travis Job 571.9
10 571.10 (jruby-head, JRUBY_OPTS="$JRUBY_OPTS --debug") 21 Jun 2014 11:58AM UTC 0
94.05
Travis Job 571.10
Source Files on build 571
  • Tree
  • List 0
  • Changed 13
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #571
  • a18b1f02 on github
  • Prev Build on 0-6-stable (#569)
  • Next Build on 0-6-stable (#576)
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