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

dropwizard / dropwizard / 4220
86%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2017 07:43PM UTC
Jobs 1
Files 399
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
4220

push

travis-ci

arteam
Return a 400 when a request body can't be decompressed (#2222)

* Return a 400 when a request body can't be decompressed

Currently, making a request with content-encoding set to gzip (or
deflate) with content that's either not-gziped or truncated results in
a 500 because the exception from GZipInputStream is never handled.

This change decorates GZipInputStream so that operations that fail
because of invalid input will be intercepted and a 400 response sent.

* fixup: test IOException propagation

* fixup: fix nits

* fixup: consolidate exception handling logic

* fixup: extend InputStream instead of FilterInputStream

6789 of 7804 relevant lines covered (86.99%)

77.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4220.1 29 Nov 2017 07:43PM UTC 0
86.99
Travis Job 4220.1
Source Files on build 4220
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4220
  • 8d47ba09 on github
  • Prev Build on master (#4203)
  • Next Build on master (#4221)
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