client: No error when last chunk of Get and GetRange response overflows requested length #254

Open
opened 2025-12-28 18:07:35 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024).

when the next chunk from ObjectService.Get(Range) response overflows the requested range len, Read() returns payload range size overflow error

Current Behavior

no error if this chunk is last

i think in this case smth is definitely wrong with the server and/or data it responds with, and response should be considered invalid

Expected Behavior

error too

Possible Solution

check and fail

Steps to Reproduce

  • invalid_message_sequence/payload_size_overflow testcase from #641

Regression

no

Your Environment

Originally created by @cthulhu-rider on GitHub (Dec 10, 2024). when the next chunk from `ObjectService.Get(Range)` response overflows the requested range len, `Read()` returns `payload range size overflow` error ## Current Behavior no error if this chunk is last i think in this case smth is definitely wrong with the server and/or data it responds with, and response should be considered invalid ## Expected Behavior error too ## Possible Solution check and fail ## Steps to Reproduce * `invalid_message_sequence/payload_size_overflow` testcase from #641 ## Regression no ## Your Environment * Version of the product used: 335d9fe90f24494944c2888ef385f06f5f81dcfc
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-sdk-go#254
No description provided.