Skip to content

[stable28] fix: Do not try to set HTTP response code on already closed connection - #47979

Merged
skjnldsv merged 1 commit into
stable28from
backport/47971/stable28
Sep 15, 2024
Merged

[stable28] fix: Do not try to set HTTP response code on already closed connection#47979
skjnldsv merged 1 commit into
stable28from
backport/47971/stable28

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #47971

This avoids a PHP warning in the logs about trying to set the response
code while the output already started. It’s useless to try to print an
error page anyway in this situation because the connection was closed
already.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nccome-nc added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 15, 2024
@skjnldsv
skjnldsv merged commit 5d548e6 into stable28Sep 15, 2024
@skjnldsv
skjnldsv deleted the backport/47971/stable28 branch September 15, 2024 20:13
@AltahrimAltahrim mentioned this pull request Oct 1, 2024
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@joshtrichards@solracsf@come-nc@skjnldsv