Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)#46

Merged
dmcgowan merged 1 commit intocontainerd:masterfrom
thaJeztah:adjust_for_grpc_1.23
Aug 26, 2019
Merged

Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)#46
dmcgowan merged 1 commit intocontainerd:masterfrom
thaJeztah:adjust_for_grpc_1.23

Conversation

@thaJeztah
Copy link
Member

To account forgrpc/grpc-go@5da5b1f (grpc/grpc-go#2929),
which is part of gRPC v1.23.0 and up, and after which gRPC no longer sets a
Status if no error occured.

…d up)To account forgrpc/grpc-go@5da5b1f,which is part of gRPC v1.23.0 and up, and after which gRPC no longer sets aStatus if no error occured.Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
Copy link
MemberAuthor

@stevvooe@crosbymichael PTAL - this relates tocontainerd/containerd#3581; not sure if there are situations where this may happen in a non-error situation

@crosbymichael
Copy link
Member

LGTM

@dmcgowan
Copy link
Member

LGTM

If this change is included with an older gRPC version, will it break?

@dmcgowandmcgowan merged commit1ab4dfb intocontainerd:masterAug 26, 2019
@thaJeztah
Copy link
MemberAuthor

If this change is included with an older gRPC version, will it break?

I don't think itbreaks - IIUC, theno status provided on response was more of a "catch all" for unknown errors/situations

@stevvooe
Copy link
Member

This doesn’t seem right. How is it a part of a cve?

@thaJeztah
Copy link
MemberAuthor

@stevvooe unfortunately, this change in behavior got rolle up in the v1.23 release, which also addresses those CVEs

thaJeztah added a commit to thaJeztah/docker that referenced this pull requestAug 28, 2019
full diff:containerd/ttrpc@699c4e4...92c8520changes:-containerd/ttrpc#37 Handle EOF to prevent file descriptor leak-containerd/ttrpc#38 Improve connection error handling-containerd/ttrpc#40 Support headers-containerd/ttrpc#41 Add client and server unary interceptors-containerd/ttrpc#43 metadata as KeyValue type-containerd/ttrpc#42 Refactor close handling for ttrpc clients-containerd/ttrpc#44 Fix method full name generation-containerd/ttrpc#46 Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)-containerd/ttrpc#49 Handle ok statusSigned-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this pull requestSep 3, 2019
full diff:containerd/ttrpc@699c4e4...92c8520changes:-containerd/ttrpc#37 Handle EOF to prevent file descriptor leak-containerd/ttrpc#38 Improve connection error handling-containerd/ttrpc#40 Support headers-containerd/ttrpc#41 Add client and server unary interceptors-containerd/ttrpc#43 metadata as KeyValue type-containerd/ttrpc#42 Refactor close handling for ttrpc clients-containerd/ttrpc#44 Fix method full name generation-containerd/ttrpc#46 Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)-containerd/ttrpc#49 Handle ok statusSigned-off-by: Sebastiaan van Stijn <github@gone.nl>Upstream-commit: 8769255d1bb9c469d4f2966e7e9869a9f126f9e9Component: engine
thaJeztah added a commit to thaJeztah/docker that referenced this pull requestSep 12, 2019
full diff:containerd/ttrpc@699c4e4...92c8520changes:-containerd/ttrpc#37 Handle EOF to prevent file descriptor leak-containerd/ttrpc#38 Improve connection error handling-containerd/ttrpc#40 Support headers-containerd/ttrpc#41 Add client and server unary interceptors-containerd/ttrpc#43 metadata as KeyValue type-containerd/ttrpc#42 Refactor close handling for ttrpc clients-containerd/ttrpc#44 Fix method full name generation-containerd/ttrpc#46 Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)-containerd/ttrpc#49 Handle ok statusSigned-off-by: Sebastiaan van Stijn <github@gone.nl>(cherry picked from commit8769255)Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this pull requestSep 23, 2019
full diff:containerd/ttrpc@699c4e4...92c8520changes:-containerd/ttrpc#37 Handle EOF to prevent file descriptor leak-containerd/ttrpc#38 Improve connection error handling-containerd/ttrpc#40 Support headers-containerd/ttrpc#41 Add client and server unary interceptors-containerd/ttrpc#43 metadata as KeyValue type-containerd/ttrpc#42 Refactor close handling for ttrpc clients-containerd/ttrpc#44 Fix method full name generation-containerd/ttrpc#46 Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)-containerd/ttrpc#49 Handle ok statusSigned-off-by: Sebastiaan van Stijn <github@gone.nl>(cherry picked from commit 8769255d1bb9c469d4f2966e7e9869a9f126f9e9)Signed-off-by: Sebastiaan van Stijn <github@gone.nl>Upstream-commit: 525e8ed3febff46d07cb01961601824b5f8b301bComponent: engine
burnMyDread pushed a commit to burnMyDread/moby that referenced this pull requestOct 21, 2019
full diff:containerd/ttrpc@699c4e4...92c8520changes:-containerd/ttrpc#37 Handle EOF to prevent file descriptor leak-containerd/ttrpc#38 Improve connection error handling-containerd/ttrpc#40 Support headers-containerd/ttrpc#41 Add client and server unary interceptors-containerd/ttrpc#43 metadata as KeyValue type-containerd/ttrpc#42 Refactor close handling for ttrpc clients-containerd/ttrpc#44 Fix method full name generation-containerd/ttrpc#46 Client.Call(): do not return error if no Status is set (gRPC v1.23 and up)-containerd/ttrpc#49 Handle ok statusSigned-off-by: Sebastiaan van Stijn <github@gone.nl>Signed-off-by: zach <Zachary.Joyner@linux.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@thaJeztah@crosbymichael@dmcgowan@stevvooe

Comments


[8]ページ先頭

©2009-2026 Movatter.jp