VictoriaMetrics/lib/fs
Zakhar Bessarab 58cb9ee92f
lib/fs: verify response code when reading configuration over HTTP (#4036)
Verifying status code helps to avoid misleading errors caused by attempt to parse unsuccessful response.

Related issue: #4034

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2023-03-31 22:38:36 -07:00
..
dir_remover.go lib/fs: do not pass done callback to tryRemoveAll() func 2021-05-24 04:51:57 +03:00
fadvise_darwin.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_openbsd.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
fadvise_unix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs.go lib/fs: verify response code when reading configuration over HTTP (#4036) 2023-03-31 22:38:36 -07:00
fs_nix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs_openbsd.go lib/fs: follow-up after f3a03c4164 2021-02-27 01:01:47 +02:00
fs_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
fs_test.go app/vmauth: follow-up for 13368bed18 2021-12-02 23:32:05 +02:00
fs_unix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs_windows.go lib/fs: follow-up after f3a03c4164 2021-02-27 01:01:47 +02:00
reader_at.go lib/fs: follow-up after f3a03c4164 2021-02-27 01:01:47 +02:00
reader_at_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:21 +02:00
reader_at_timing_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:21 +02:00