pywb
pywb copied to clipboard
Cope better with very large headers
Describe the bug
Long response headers break playback under uwsgi due to an undocumented response-header-limit that causes an OSError: write error.
Steps to reproduce the bug
See https://github.com/ukwa/ukwa-pywb/issues/94 for the gory details.
Expected behavior
Large headers should not break playback.
It's not clear how best to resolve this. These very large headers are likely not much use on playback, so could perhaps be dropped, but maybe we can't rule out that they are useful somewhere.
So perhaps this uwsgi parameter should be added to the documentation and examples instead?