increase lookup length

This commit is contained in:
Nazar Kanaev
2021-03-27 01:14:21 +00:00
parent f126247262
commit 36bc84d99a
2 changed files with 33 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ func sniff(lookup string) (string, processor) {
}
func Parse(r io.Reader) (*Feed, error) {
lookup := make([]byte, 1024)
lookup := make([]byte, 2048)
n, err := io.ReadFull(r, lookup)
switch {
case err == io.ErrUnexpectedEOF: