Open craigreyenga opened 3 months ago
Did you try the buffer size option?
-b 8192
: bad
-b 9216
: good
I did not notice this option when I first started using muffet. Does this option refer to the total size of all HTTP headers in the response? I assume the body of the response is not a part of this buffer size.
Would it be possible to increase the default to 10 kB?
The buffer size is used for every connection. So it's not something easy to modify as it's critical to the entire process's memory usage... 🤔
The buffer size is used for every connection. So it's not something easy to modify as it's critical to the entire process's memory usage... 🤔
Does that memory usage accumulate as more and more requests are made?
Anyway, I will defer to your judgment. It's not a huge problem for me to add that parameter to each invocation.
My website has a link to TikTok on it. The HTTP response headers from TikTok are very big, which causes Muffet to fail.
Pointing to the following HTML is enough to trigger the issue:
Using
curl -vvvv https://www.tiktok.com/
shows that the response headers are very large on TikTok.