Skip to content

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

Merged
come-nc merged 1 commit into
stable29from
backport/47971/stable29
Sep 15, 2024
Merged

[stable29] fix: Do not try to set HTTP response code on already closed connection#47980
come-nc merged 1 commit into
stable29from
backport/47971/stable29

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>
@solracsfsolracsf 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
@come-nc
come-nc merged commit 9b4637b into stable29Sep 15, 2024
@come-nc
come-nc deleted the backport/47971/stable29 branch September 15, 2024 07:45
@AltahrimAltahrim mentioned this pull request Oct 1, 2024
1 task
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.

3 participants

@joshtrichards@solracsf@come-nc