chrislu
|
7e52b1e195
|
return err for processRangeRequest()
|
2 years ago |
Konstantin Lebedev
|
82c2ce74db
|
more error details in the log (#3568)
* more error details in the log
https://github.com/seaweedfs/seaweedfs/issues/3567
* format message
|
2 years ago |
chrislu
|
26dbc6c905
|
move to https://github.com/seaweedfs/seaweedfs
|
2 years ago |
Konstantin Lebedev
|
31a929f7f2
|
logging processRangeRequest errors
|
3 years ago |
chrislu
|
27732ecfa4
|
move s3 related constants from package http to s3_constants
|
3 years ago |
chrislu
|
6d3db4445b
|
buffer for all range requests
|
3 years ago |
chrislu
|
a96d4254e9
|
filer, s3, volume server: a bit memory optimization
|
3 years ago |
chrislu
|
7210558c7b
|
s3: pass through s3 presigned headers
fix https://github.com/chrislusf/seaweedfs/discussions/2502
|
3 years ago |
Chris Lu
|
de1ec050e8
|
fier/s3: save "Content-Disposition" to extended properties
related to https://github.com/chrislusf/seaweedfs/issues/2371
|
3 years ago |
Chris Lu
|
34f764007f
|
escape file name only when necessary
|
3 years ago |
Chris Lu
|
8e9273db99
|
s3: use "response-content-disposition" to overwrite default content-disposition
fix one part of https://github.com/chrislusf/seaweedfs/issues/2371
see https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
|
3 years ago |
Chris Lu
|
6923af7280
|
refactoring
|
3 years ago |
Chris Lu
|
570d2eccec
|
skip body if not allowed by http status
|
3 years ago |
Chris Lu
|
0b2a92d371
|
skip if http.StatusNoContent
|
3 years ago |
Chris Lu
|
3668d10664
|
range query for mp4 video play
fix https://github.com/chrislusf/seaweedfs/issues/2156
|
4 years ago |
Chris Lu
|
6c82326575
|
use bytes.Buffer to reduce memory allocation and gc
|
4 years ago |
Konstantin Lebedev
|
03d1199d5f
|
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
|
4 years ago |
Chris Lu
|
da0a4e775b
|
Revert "Revert "Merge pull request #2027 from bingoohuang/master""
This reverts commit d74cdf0115 .
|
4 years ago |
Chris Lu
|
ac71117ee6
|
revert PR #1903 avoid http error: superfluous response.WriteHeader
|
4 years ago |
Chris Lu
|
d74cdf0115
|
Revert "Merge pull request #2027 from bingoohuang/master"
Need to revert because docker image build failed. The docker apk package only has go 1.15.
|
4 years ago |
bingoohuang
|
7a9d27fce8
|
promote to go:embed instead of github.com/rakyll/statik
|
4 years ago |
Konstantin Lebedev
|
90510e3137
|
If WriteHeader is not called explicitly, the first call to Write
will trigger an implicit WriteHeader(http.StatusOK).
WriteHeader: Only one header may be written. Go does not currently!
|
4 years ago |
Chris Lu
|
6daa932f5c
|
refactoring to get master function, instead of passing master values directly
this will enable retrying later
|
4 years ago |
Chris Lu
|
698f58f7c4
|
filer, s3: add http status 206 as late as possible
fix https://github.com/chrislusf/seaweedfs/issues/1746
|
4 years ago |
Chris Lu
|
1bf22c0b5b
|
go fmt
|
4 years ago |
Chris Lu
|
8baba93fce
|
rename parameter name to "disk"
|
4 years ago |
Chris Lu
|
0d2ec832e2
|
rename from volumeType to diskType
|
4 years ago |
Chris Lu
|
e9cd798bd3
|
adding volume type
|
4 years ago |
Chris Lu
|
95c0de285d
|
refactoring
|
4 years ago |
Chris Lu
|
6856b0d57e
|
filer: add API to add/modify/delete tagging
|
4 years ago |
Chris Lu
|
f022aff289
|
add back http.StatusPartialContent
revert e7c04af1d0
|
4 years ago |
Chris Lu
|
3faa0aa448
|
rename
|
4 years ago |
Chris Lu
|
023a1efdf2
|
set filename in Content-Disposition header
|
4 years ago |
Chris Lu
|
e7c04af1d0
|
skip http.StatusPartialContent in case of error and superfluous response.WriteHeader
|
5 years ago |
Chris Lu
|
bc2ec6774d
|
inject git version into build
|
5 years ago |
bingoohuang
|
41cab5d69f
|
log JSON response if httpStatus >= 400
|
5 years ago |
Chris Lu
|
308688c8d0
|
filer: add back image resizing capability
|
5 years ago |
Chris Lu
|
2e3f6ad3a9
|
filer: remember content is gzipped or not
|
5 years ago |
Chris Lu
|
9b3109a5d8
|
filer: processing all response headers, no pass through to volume server
* filer calculate MD5 etag
* filer handle response headers, instread of pass it to volume servers
|
5 years ago |
Chris Lu
|
ea1169dc80
|
filer cipher: single chunk http POST and PUT and read
|
5 years ago |
Chris Lu
|
13e215ee5c
|
filer: option to encrypt data on volume server
|
5 years ago |
Chris Lu
|
9b01a99d9a
|
adjust logging
|
5 years ago |
Chris Lu
|
3eafec4b29
|
volume: add option to limit file size
|
5 years ago |
Chris Lu
|
81f424a630
|
go fmt
|
5 years ago |
Chris Lu
|
916423e96a
|
master: submit support "dataCenter" parameter
|
5 years ago |
Chris Lu
|
ec8de250e2
|
tiered storage: can copy to s3, read from s3
master not aware tiered volume yet, file assigning is not working yet
|
5 years ago |
Chris Lu
|
f60154f330
|
master load backend storage config from master.toml
|
5 years ago |
j.laycock
|
6fc6322c90
|
Change joeslay paths to chrislusf paths
|
5 years ago |
j.laycock
|
595a1beff0
|
Swap imports to use joeslay
|
5 years ago |
Chris Lu
|
0dc43ecdca
|
skip writing content if not modified
related to https://github.com/chrislusf/seaweedfs/issues/1036
|
5 years ago |