Repository navigation
fix: [ocisdev-1433] fix public share, add The grpc clients keepalive and more (#13020) - #13068
Merged
Merged
Conversation
…and more (#13020) * fix: the public share configuration and fixed graceful shutdown * fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE The setting closed healthy grpc connections on a timer so that clients would redo their DNS lookup. It never helped against the failure it was reached for - a connection whose peer stopped answering - because the age limit is enforced by the server, the grace period was left at infinity so a request already in flight was never ended, and any value without a unit suffix silently disabled it again. Detecting a peer that stops answering is now the job of the grpc clients, which ping the peer while a request is in flight. The servers here got the matching enforcement policy so they accept those pings; the client side arrives with the next reva bump. * fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests. * chore: bump reva * fix: The keepalive added to grpc clinet * chore: bump reva * build(deps): bump go 1.26.8, grpc-go dependency --------- (cherry picked from commit e86eb4d) For the 9.0 branch, the reva dependency was pointed at reva's main-branch merge of PR #748 (commit 373f9509a, pseudo-version v2.0.0-20261005091647-373f9509a363) instead of the 8.2-targeted e0beaa380005, since the 8.2 merge predates the VaultMode/UploadSessionFilter.Orphaned APIs already present on the 9.0 reva lineage. Co-authored-by: Claude Opus 5 <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]> # Conflicts: # changelog/unreleased/security-bump-grpc.md # go.mod # go.sum # vendor/google.golang.org/grpc/server.go # vendor/google.golang.org/grpc/stream.go # vendor/google.golang.org/grpc/version.go # vendor/modules.txt
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
mzner
approved these changes
Oct 6, 2026
gauravsoni119
approved these changes
Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…and more (#13020)
fix: the public share configuration and fixed graceful shutdown
fix: [OCISDEV-1433] remove GRPC_MAX_CONNECTION_AGE
The setting closed healthy grpc connections on a timer so that clients would redo their DNS lookup. It never helped against the failure it was reached for - a connection whose peer stopped answering - because the age limit is enforced by the server, the grace period was left at infinity so a request already in flight was never ended, and any value without a unit suffix silently disabled it again.
Detecting a peer that stops answering is now the job of the grpc clients, which ping the peer while a request is in flight. The servers here got the matching enforcement policy so they accept those pings; the client side arrives with the next reva bump.
fix: Added the new variable OCDAV_DISABLE_PROPFIND_PUBLIC_LINK_RESOLUTION that disable the resolution of public link shares when answering PROPFIND requests.
chore: bump reva
fix: The keepalive added to grpc clinet
chore: bump reva
build(deps): bump go 1.26.8, grpc-go dependency
(cherry picked from commit e86eb4d)
For the 9.0 branch, the reva dependency was pointed at reva's main-branch merge of PR #748 (commit 373f9509a, pseudo-version v2.0.0-20261005091647-373f9509a363) instead of the 8.2-targeted e0beaa380005, since the 8.2 merge predates the VaultMode/UploadSessionFilter.Orphaned APIs already present on the 9.0 reva lineage.
Co-authored-by: Claude Opus 5 [email protected]
Co-Authored-By: Claude Sonnet 5 [email protected]
Conflicts:
changelog/unreleased/security-bump-grpc.md
go.mod
go.sum
vendor/google.golang.org/grpc/server.go
vendor/google.golang.org/grpc/stream.go
vendor/google.golang.org/grpc/version.go
vendor/modules.txt
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: