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

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

Build:
Build:
LAST BUILD BRANCH: feature/multipart-post
DEFAULT BRANCH: master
Ran 21 Jun 2014 11:53AM UTC
Files 21
Run time 11s
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: 94.382%. Remained the same
2.1.0

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

588 of 623 relevant lines covered (94.38%)

24.22 hits per line

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