Merge pull request #8889 from wic006/wic006/update-rfc-link

archive/compression: update out of date RFC draft link
This commit is contained in:
Derek McGowan
2023-08-21 15:15:18 -07:00
committed by GitHub

View File

@@ -146,7 +146,7 @@ func magicNumberMatcher(m []byte) matcher {
// zstdMatcher detects zstd compression algorithm.
// There are two frame formats defined by Zstandard: Zstandard frames and Skippable frames.
// See https://tools.ietf.org/id/draft-kucherawy-dispatch-zstd-00.html#rfc.section.2 for more details.
// See https://datatracker.ietf.org/doc/html/rfc8878#section-3 for more details.
func zstdMatcher() matcher {
return func(source []byte) bool {
if bytes.HasPrefix(source, zstdMagic) {