diagnostics: disable nginx reverse proxy buffering on configd streams - #10818
diagnostics: disable nginx reverse proxy buffering on configd streams#10818Greelan wants to merge 3 commits into
Conversation
…d firewall SSE streams
a0a79b6 to
5e22d2e
Compare
|
Maybe its better to merge a header before Personally I do find their header a bit obscure as we're already asking to not cache this stream with standard headers, in practice other webservers will usually just drop this anyway. |
|
Right, that was the alternative I mentioned. Wasn't sure you would want Base touched. Anyway, done now. |
|
in this case it might be better, but is |
|
I was focused on SSE. I think the only other use is for CSV exports, where buffering may actually help? |
|
I think all current callers use the same type, but if at some point it seems to make sense to filter these, we can have a look then. For now I would prefer a single strategy and wait for feedback. When there is a valid reason to not do this, we should probably add the tag with a |
|
This is what I was referring to: But I can remove the type test if that is still your preference. |
|
let's remove the test, if someone complains, we'll see |
|
OK, done. |
Important notices
Before you submit a pull request, we ask you kindly to acknowledge the following:
If AI was used, please disclose:
Describe the problem
The dashboard traffic and CPU widgets and the live firewall log stutter behind a buffering nginx reverse proxy.
Describe the proposed solution
These event streams follow the same pattern as the live log widget, so adding the same
X-Accel-Bufferingheader as was added for the live log widget in #10086.The alternative is to do it centrally in
ApiControllerBase.php.Related issue
N/A