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

fix(client): Use shared default options for HTTP client requests #3831

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Jul 24, 2024

Makes sure we always set a sane timeout and allow_local_address.

Fixes: #3255
Fixes: #3435
Fixes: nextcloud/server#44190

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

@mejo- mejo- added bug Something isn't working 3. to review Ready to be reviewed labels Jul 24, 2024
@mejo- mejo- added this to the Nextcloud 30 milestone Jul 24, 2024
@mejo- mejo- requested a review from juliusknorr July 24, 2024 09:59
@mejo- mejo- self-assigned this Jul 24, 2024
@mejo- mejo- force-pushed the fix/harmonize_client_options branch from 9532339 to a72bbf3 Compare July 24, 2024 10:02
@mejo-
Copy link
Member Author

mejo- commented Jul 24, 2024

/backport to stable29

@mejo-
Copy link
Member Author

mejo- commented Jul 24, 2024

/backport to stable28

Makes sure we always set a sane timeout and `allow_local_address`.

Fixes: #3255
Fixes: #3435
Fixes: nextcloud/server#44190

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- force-pushed the fix/harmonize_client_options branch from a72bbf3 to 00f61ba Compare July 24, 2024 10:23
@juliusknorr juliusknorr merged commit ddc4802 into main Jul 25, 2024
60 checks passed
@juliusknorr juliusknorr deleted the fix/harmonize_client_options branch July 25, 2024 09:29
Copy link

backportbot bot commented Jul 25, 2024

The backport to stable28 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable28
git pull origin stable28

# Create the new backport branch
git checkout -b backport/3831/stable28

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 00f61ba7

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/3831/stable28

Error: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@juliusknorr
Copy link
Member

@mejo- Can you take care of the manual backport for 28?

@mejo-
Copy link
Member Author

mejo- commented Sep 6, 2024

Manual backport for 28: #3993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment