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

payjoin / rust-payjoin / 15856628567
83%

Build:
DEFAULT BRANCH: master
Ran 24 Jun 2025 04:56PM UTC
Jobs 1
Files 51
Run time 1min
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 Jun 2025 04:54PM UTC coverage: 86.015% (+0.005%) from 86.01%
15856628567

push

github

web-flow
Remove MAX_CONTENT_LENGTH, validate content-length with body length (#770)

This PR partially addresses issue #756 by removing the `MAX_CONTENT_LENGTH` check
from the v1 receive path.

Instead, the code now validates that the request body length matches the
Content-Length header, returning a specific error if there is a
mismatch. This change assumes the body is already allocated and within
application limits, simplifying validation and improving error
reporting.

- Removes `MAX_CONTENT_LENGTH` check from `validate_body`
- Adds a `ContentLengthMismatch` error variant
- Updates test and error handling accordingly

16 of 17 new or added lines in 2 files covered. (94.12%)

7817 of 9088 relevant lines covered (86.01%)

511.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
26.09
0.0% payjoin/src/receive/v1/exclusive/error.rs
Jobs
ID Job ID Ran Files Coverage
1 15856628567.1 24 Jun 2025 04:56PM UTC 51
86.01
GitHub Action Run
Source Files on build 15856628567
  • Tree
  • List 51
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15856628567
  • c384ad57 on github
  • Prev Build on master (#15856587387)
  • Next Build on master (#15861266504)
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