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

Disable Apache proxy buffering #4343

Merged
merged 1 commit into from
Mar 8, 2024
Merged

Conversation

p1gp1g
Copy link
Contributor

@p1gp1g p1gp1g commented Mar 8, 2024

Disabling proxy buffering is necessary to use Server-sent events (SSE), which is what NextPush use.

Generally, proxy buffering can be used to reduce connection load on the backend server if you have clients with very poor connection. The proxy closes the connection to the server sooner and keep delivering data slowly to the client. The advantage is pretty limited without a load balancer (on the proxy).
Note that if a user has defined another reverse proxy in front, for example to add a load balancer, they will be able to add proxy buffering with an exception for certain paths if necessary there.

Another solution is to set flushpackets to auto with a very low flushwait, but in my opinion flushpackets=on is good enough.

Related issues and discussions:
https://codeberg.org/NextPush/nextpush-android/issues/4
https://codeberg.org/NextPush/uppush/issues/8 (probably)
UP-NextPush/android#58
#4295
#4303

@szaimen szaimen added 3. to review Waiting for reviews enhancement New feature or request labels Mar 8, 2024
@szaimen szaimen added this to the next milestone Mar 8, 2024
@szaimen
Copy link
Collaborator

szaimen commented Mar 8, 2024

LGTM, thanks!

@szaimen szaimen merged commit f14a271 into nextcloud:main Mar 8, 2024
2 of 3 checks passed
@szaimen
Copy link
Collaborator

szaimen commented Mar 8, 2024

This is now released with v8.0.0 Beta. Testing and feedback is welcome! See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel

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

Successfully merging this pull request may close these issues.

None yet

3 participants