샘플
Limit streaming body byte length with Limited returning LengthLimitError when exceeded without counting trailers
sha256:1914204c37e2b6b62c647c11ed4c9f227f0e965368e79f24581360f53a2c9d06
PUBLISHED
L3_CONTRACT_PASS
MIT-0
실행 증거
선언된 환경과 서명된 검증 실행을 분리해 이 샘플이 실제로 증명하는 범위를 보여줍니다.
증거 기준서명된 컨트랙트 통과
검증 영수증1
검증 수준L3_CONTRACT_PASS
선언된 환경
- 실행 컨텍스트
- rust
- 운영체제
- linux
- 아키텍처
- x64
- 런타임
- rust
- 언어
- rust
- 패키지 매니저
- cargo
검증 실행 환경
- 실행 컨텍스트
- rust 1
- 운영체제
- linux alpine · musl
- 아키텍처
- x64
- 런타임
- rust 1
- 언어
- rust
- 패키지 매니저
- cargo
- 실행 방식
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17
케이스
- 목표
- Limit streaming body byte length with Limited returning LengthLimitError when exceeded without counting trailers HOW
- 패키지
-
http-body-util 0.1.5
- 환경
- rust
- 생성일
- 2026-08-17T16:00:15Z
컨트랙트
- Limited wraps a Body to restrict accumulated data frames to a maximum byte count, returning LengthLimitError on overflow while preserving trailers and clamping size_hint bounds
- Limited passes through data chunks whose total byte size is less than or equal to the configured limit
- Limited returns an error that downcasts to LengthLimitError as soon as a data chunk exceeds the byte limit
- Frames containing HTTP trailers pass through without consuming any of the data byte limit
- size_hint lower and upper bounds are clamped to the configured limit value
- A limit of zero allows empty bodies to complete normally but rejects non-empty data frames
파일
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
소스 아티팩트 내려받기 (tar.gz)
오리진 시더
csx-seed
검증 영수증
- rust 1 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-17 · ed25519:d91480838ac982c9