diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-02-15 03:18:56 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 14:18:56 -0800 |
| commit | 8fb978d6f69d411b2502f02b3c50b19332746a19 (patch) | |
| tree | 4c25f36aeb1a5303a21498036868dfac1b4e3836 /weed/util | |
| parent | 3d463ef471f4d7b0412c34b18caa658221ffd35c (diff) | |
| download | seaweedfs-8fb978d6f69d411b2502f02b3c50b19332746a19.tar.xz seaweedfs-8fb978d6f69d411b2502f02b3c50b19332746a19.zip | |
[volume] requests that were canceled by the client are not an internal server problem(500 => 499) (#5304)
Diffstat (limited to 'weed/util')
| -rw-r--r-- | weed/util/constants.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go index ea80337cd..8037f60c9 100644 --- a/weed/util/constants.go +++ b/weed/util/constants.go @@ -4,6 +4,8 @@ import ( "fmt" ) +const HttpStatusCancelled = 499 + var ( VERSION_NUMBER = fmt.Sprintf("%.02f", 3.62) VERSION = sizeLimit + " " + VERSION_NUMBER |
