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

curl / curl / 6748
37%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2017 07:47AM UTC
Jobs 1
Files 257
Run time 14s
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
6748

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

Jobs
ID Job ID Ran Files Coverage
14 6748.14 (T=coverage) 09 Nov 2017 07:47AM UTC 0
74.04
Travis Job 6748.14
Source Files on build 6748
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6748
  • fa64b0fc on github
  • Prev Build on master (#6743)
  • Next Build on master (#6750)
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