increase lookup length
This commit is contained in:
parent
f126247262
commit
36bc84d99a
2 changed files with 33 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue