ranger issueshttps://gitlab.howett.net/go/ranger/-/issues2017-10-11T16:17:36Zhttps://gitlab.howett.net/go/ranger/-/issues/6handle resources that do not support Ranges better2017-10-11T16:17:36ZDustin L. Howettdustin@howett.nethandle resources that do not support Ranges betterhttps://gitlab.howett.net/go/ranger/-/issues/7fail reasonably if a resource indicated by an etag changes in a destructive m...2017-10-11T16:22:04ZDustin L. Howettdustin@howett.netfail reasonably if a resource indicated by an etag changes in a destructive mannerhttps://gitlab.howett.net/go/ranger/-/issues/8Reader will happily request the same blocks over and over again when used con...2017-10-12T06:38:57ZDustin L. Howettdustin@howett.netReader will happily request the same blocks over and over again when used concurrentlyhttps://gitlab.howett.net/go/ranger/-/issues/2ranger + gzip sometimes gives errors CorruptInputError2017-10-16T08:51:55ZDustin L. Howettdustin@howett.netranger + gzip sometimes gives errors CorruptInputError*Created by: vtolstov*
I'm try to use ranger with compressed gzip file via http.
When i don't change BlockSize all works fine, but then i increase block size to 4 Mb, i have errors.
In case of increased ranger BlockSize my trivial code...*Created by: vtolstov*
I'm try to use ranger with compressed gzip file via http.
When i don't change BlockSize all works fine, but then i increase block size to 4 Mb, i have errors.
In case of increased ranger BlockSize my trivial code (create gzip.NewReader from ranger and io.Copy from gzip.Reader to file) gives error flate.CorruptInputError
https://gitlab.howett.net/go/ranger/-/issues/5Panics on errors, e.g. connection refused2017-10-12T06:27:07ZDustin L. Howettdustin@howett.netPanics on errors, e.g. connection refused*Created by: tv42*
https://github.com/DHowett/ranger/blob/fc619122af5b02326e9a0aaeda3ca22bc1e5456f/http.go#L31-L32
```
resp, _ := r.client.Head(r.URL.String())
if resp.StatusCode == http.StatusNotFound {
```
That's just not a ...*Created by: tv42*
https://github.com/DHowett/ranger/blob/fc619122af5b02326e9a0aaeda3ca22bc1e5456f/http.go#L31-L32
```
resp, _ := r.client.Head(r.URL.String())
if resp.StatusCode == http.StatusNotFound {
```
That's just not a safe assumption.
https://gitlab.howett.net/go/ranger/-/issues/1Use the http.Client from HTTPRanger for the HEAD request2017-10-12T06:27:07ZDustin L. Howettdustin@howett.netUse the http.Client from HTTPRanger for the HEAD request*Created by: jfbus*
All http requests should come from the users's http.Client.
*Created by: jfbus*
All http requests should come from the users's http.Client.