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

zalando / logbook / #5134 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 25 Aug 2025 06:10AM UTC
Files 208
Run time 5s
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

24 Aug 2025 07:00PM UTC coverage: 100.0%. Remained the same
#5134.1

push

web-flow
Support entityDetails with negative content length (#2143)

* Support entityDetails with negative content length

In case of chunked transfer encoding, org.apache.hc.core5.http.impl.DefaultContentLengthStrategy uses -1 as the content length of a org.apache.hc.core5.http.HttpMessage. Which later passed in org.apache.hc.core5.http.EntityDetails. This is later causes an `java.lang.NegativeArraySizeException: -1` exception as Logobook tried to determine the buffer size for the body.

The suggested fix falls back to java.nio.Buffer.remaining() to determine the size of the buffer, when Content Length is negative.

* apply the fallback only for -1 length (CHUNK strategy)

3718 of 3718 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job #5134.1
  • Tree
  • List 208
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5134
  • 758e8a3b on github
  • Prev Job for on main (##5129.1)
  • Next Job for on main (##5135.1)
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

© 2025 Coveralls, Inc