Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when reading response headers: small read buffer #37

Closed
fredcy opened this issue Aug 24, 2018 · 4 comments
Closed

error when reading response headers: small read buffer #37

fredcy opened this issue Aug 24, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@fredcy
Copy link

fredcy commented Aug 24, 2018

If I run muffet http://www.flickr.com/issf2018 I get this output:

error when reading response headers: small read buffer. Increase ReadBufferSize. Buffer size=4096, contents: "HTTP/1.1 302 Found\r\nDate: Fri, 24 Aug 2018 15:29:52 GMT\r\nContent-Type: text/html; charset=UTF-8\r\nContent-Length: 0\r\nP3p: policyref=\"https://policies.yahoo.com/w3c/p3p.xml\", CP=\"CAO DSP COR CUR ADM DEV"...".com https://*.maps.api.here.com https://*.maps.cit.api.here.com https://*.ads.yahoo.com https://cdn.siftscience.com; connect-src https://*.flickr.com https://*.flickr.net http://*.flickr.net https://"
@raviqqe
Copy link
Owner

raviqqe commented Aug 28, 2018

It's because buffer size is constant and preconfigured. But I don't know that big header size is common or not.

References

@raviqqe raviqqe added the enhancement New feature or request label Sep 9, 2018
@splitbrain
Copy link

The error also pops up for paypal.com It's a bit annoying when each of your pages has a link to paypal ;-)

@ruzickap
Copy link

Any chance to get it fixed?
Looks like muffet http://www.flickr.com/issf2018 still gives the error...

@raviqqe
Copy link
Owner

raviqqe commented Oct 18, 2019

A new option for this is added on master:

-b, --buffer-size <size>          Set HTTP body buffer size in bytes. [default: 4096]

Thanks for reporting the issue, all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants