Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cthulhu-rider opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working client Issue related to the client I4 No visible changes S4 Routine U2 Seriously planned
Milestone

Comments

@cthulhu-rider
Copy link
Contributor

cthulhu-rider commented 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

Regression

no

Your Environment

  • Version of the product used: 335d9fe
@cthulhu-rider cthulhu-rider added bug Something isn't working client Issue related to the client labels Dec 10, 2024
@cthulhu-rider cthulhu-rider changed the title client: No error when last chunk of GetRange response overflows requested length client: No error when last chunk of Get and GetRange response overflows requested length Dec 10, 2024
@roman-khimov roman-khimov added U2 Seriously planned S4 Routine I4 No visible changes labels Dec 10, 2024
@roman-khimov roman-khimov added this to the v1.0.0-rc13 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working client Issue related to the client I4 No visible changes S4 Routine U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

2 participants