mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
increase lookup length
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user