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

curl / curl / 6748 / 14
37%
master: 37%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 07:47AM UTC
Files 257
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

09 Nov 2017 06:36AM UTC coverage: 74.043% (-0.02%) from 74.065%
T=coverage

push

travis-ci

jay
content_encoding: fix inflate_stream for no bytes available

- Don't call zlib's inflate() when avail_in stream bytes is 0.

This is a follow up to the parent commit 19e66e5. Prior to that change
libcurl's inflate_stream could call zlib's inflate even when no bytes
were available, causing inflate to return Z_BUF_ERROR, and then
inflate_stream would treat that as a hard error and return
CURLE_BAD_CONTENT_ENCODING.

According to the zlib FAQ, Z_BUF_ERROR is not fatal.

This bug would happen randomly since packet sizes are arbitrary. A test
of 10,000 transfers had 55 fail (ie 0.55%).

Ref: https://zlib.net/zlib_faq.html#faq05

Closes https://github.com/curl/curl/pull/2060

20336 of 27465 relevant lines covered (74.04%)

178892.44 hits per line

Source Files on job 6748.14 (T=coverage)
  • Tree
  • List 0
  • Changed 67
  • Source Changed 1
  • Coverage Changed 67
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6748
  • Travis Job 6748.14
  • fa64b0fc on github
  • Prev Job for T=coverage on master (#6743.14)
  • Next Job for T=coverage on master (#6750.14)
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