-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially revert "core: change serverimpl,servercallimpl's internalcl…
…ose to cancel stream (#4038)" This partially reverts commit 48ca452. It leaves the changes to ServerCallImpl and test. This also partially reverts "Lint fixes" commit 3002a23 which removed unused variables which are now necessary again. This is reverted for the combined result of two issues: * Some users are testing that they get UNKNOWN when the service throws. That's not unreasonable given the behavior was well-publicised when it changed in v1.5. We should probably keep the UNKNOWN in some common cases (like the service threw immediately, before sending anything). * The client could see CANCELLED instead of INTERNAL as had been intended. It's unclear as to why (I didn't investigate heavily). This behavior is visible in MoreInProcessTest and was overlooked during review.
- Loading branch information
Showing
4 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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