1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/client
Anton Tiurin 9c0519c4ed [Client] Fix error in parsing of 'Range' header.
* Result of regexp.FindStringSubmatch must be checked to be not nil.
Otherwise it leads to `index out of range`.
* Range header regexp is compiled only once to speedup (5x) the header parsing.

Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-02-03 00:34:38 +03:00
..
client_test.go [Client] Fix error in parsing of 'Range' header. 2015-02-03 00:34:38 +03:00
client.go [Client] Fix error in parsing of 'Range' header. 2015-02-03 00:34:38 +03:00
errors.go Move from docker-registry to distribution 2014-12-23 17:13:02 -08:00
objectstore.go Move manifest to discrete package 2015-01-02 13:23:11 -08:00
pull.go Move manifest to discrete package 2015-01-02 13:23:11 -08:00
push.go Move manifest to discrete package 2015-01-02 13:23:11 -08:00