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

curl / curl / 9124
37%

Build:
DEFAULT BRANCH: master
Ran 04 Nov 2018 01:16AM UTC
Jobs 1
Files 356
Run time 17s
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
9124

push

travis-ci

danielgustafsson
infof: clearly indicate truncation

The internal buffer in infof() is limited to 2048 bytes of payload plus
an additional byte for NULL termination. Servers with very long error
messages can however cause truncation of the string, which currently
isn't very clear, and leads to badly formatted output.

This appends a "...\n" (or just "..." in case the format didn't with a
newline char) marker to the end of the string to clearly show
that it has been truncated.

Also include a unittest covering infof() to try and catch any bugs
introduced in this quite important function.

Closes #3216
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>

21738 of 29041 relevant lines covered (74.85%)

772126.58 hits per line

Jobs
ID Job ID Ran Files Coverage
23 9124.23 (T=coverage) 04 Nov 2018 01:16AM UTC 0
74.85
Travis Job 9124.23
Source Files on build 9124
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9124
  • c37b66aa on github
  • Prev Build on master (#9119)
  • Next Build on master (#9129)
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