Skip to content

Commit 67b25ec

Browse files
Fix structured message decoder to properly handle partial headers across chunks
- Rewrote StructuredMessageDecoder with proper pending buffer management - Added decodeChunk() API that returns DecodeResult with status codes - Never read partial headers - wait for complete bytes - Track lastCompleteSegmentStart correctly for smart retry - Simplified StorageContentValidationDecoderPolicy to use new decoder API - Added comprehensive unit tests for split header scenarios Co-authored-by: gunjansingh-msft <[email protected]>
1 parent db7b800 commit 67b25ec

File tree

3 files changed

+743
-361
lines changed

3 files changed

+743
-361
lines changed

0 commit comments

Comments
 (0)