Closed awused closed 4 years ago
Hello. Thanks for the PR.
So, it will resolve the tight loop (when brotli waits for output buffer to be consumed, but the filter below does not make any progress).
But the question is - will nginx react as expected. IIRC, we already got problem with returning NGX_AGAIN... Will try to find what was it and update this comment soon.
Is was about NGX_OK vs NGX_DONE.
LGTM. Will land the PR, but reopen the issue, to gather the feedback from other users.
Thanks again.
Thanks for the progress! I'm pushing this to production now, and will let you know if the problem comes back. 👍🏻
Fixes #80 at least for my examples.