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

tarcieri / http / 571 / 2
94%
master: 95%

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

21 Jun 2014 11:46AM UTC coverage: 93.233%. Remained the same
1.9.2

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

620 of 665 relevant lines covered (93.23%)

25.16 hits per line

Source Files on job 571.2 (1.9.2)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 571
  • Travis Job 571.2
  • a18b1f02 on github
  • Prev Job for 1.9.2 on 0-6-stable (#569.2)
  • Next Job for 1.9.2 on 0-6-stable (#576.2)
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