diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-05-20 11:45:21 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-05-20 11:45:21 +0500 |
| commit | 03d1199d5f73fdb4302adddc91f5aeea350a13a7 (patch) | |
| tree | 5998afe74d837e9ddfb42b9a73d8a579d7604f54 /weed/command/filer_cat.go | |
| parent | 87a32bfef4f9b4c3594d20dac22d0e8cf60db341 (diff) | |
| download | seaweedfs-03d1199d5f73fdb4302adddc91f5aeea350a13a7.tar.xz seaweedfs-03d1199d5f73fdb4302adddc91f5aeea350a13a7.zip | |
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
Diffstat (limited to 'weed/command/filer_cat.go')
| -rw-r--r-- | weed/command/filer_cat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_cat.go b/weed/command/filer_cat.go index a46098b04..c4281feba 100644 --- a/weed/command/filer_cat.go +++ b/weed/command/filer_cat.go @@ -110,7 +110,7 @@ func runFilerCat(cmd *Command, args []string) bool { filerCat.filerClient = client - return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64) + return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64, false) }) |
