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

dropwizard / dropwizard / 4221
86%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2017 08:17PM UTC
Jobs 1
Files 399
Run time 22s
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
4221

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

6787 of 7804 relevant lines covered (86.97%)

77.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4221.1 29 Nov 2017 08:17PM UTC 0
86.97
Travis Job 4221.1
Source Files on build 4221
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4221
  • 6e6671fc on github
  • Prev Build on master (#4220)
  • Next Build on master (#4223)
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