diff options
| author | Sébastien <s.berthier@bee-buzziness.com> | 2024-01-29 19:35:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-29 10:35:52 -0800 |
| commit | 0775d05a23b61a23f9a7f3fb180ec6d96fa94430 (patch) | |
| tree | c5cd1d9bbb914e511f2243f471a7a8b1f5c02708 /weed/replication | |
| parent | e5c0680dbcd250f69ab414cd14ee3ecc859c5dcf (diff) | |
| download | seaweedfs-0775d05a23b61a23f9a7f3fb180ec6d96fa94430.tar.xz seaweedfs-0775d05a23b61a23f9a7f3fb180ec6d96fa94430.zip | |
fix: http range request return status 500 (#5251)
When volume server unavailable for at least one chunk; was returning status 206.
Split `StreamContent` in two parts,
- first prepare, to get chunk info and return stream function
- then write chunk, with that stream function
That allow to catch error in first step before setting response status code in `processRangeRequest`
Diffstat (limited to 'weed/replication')
0 files changed, 0 insertions, 0 deletions
