Skip to content

core: ClientStream.getAttributes() can be called at any time.#5904

Merged
zhangkun83 merged 1 commit intogrpc:masterfrom
zhangkun83:stream_getattributes
Jun 19, 2019
Merged

core: ClientStream.getAttributes() can be called at any time.#5904
zhangkun83 merged 1 commit intogrpc:masterfrom
zhangkun83:stream_getattributes

Conversation

@zhangkun83
Copy link
Copy Markdown
Contributor

In #5892 getAttributes() is called without any regard of timing.
Currently DelayedStream.getAttributes() wil throw if called before
passThrough was set. Just to be safe, we are removing that
restriction and making it clear on the javadoc.

On the other hand, we intend to keep the timing restriction on
ClientCall.getAttributes().

In grpc#5892 getAttributes() is called without any regard of timing.
Currently DelayedStream.getAttributes() wil throw if called before
passThrough was set.  Just to be safe, we are removing that
restriction and making it clear on the javadoc.

On the other hand, we intend to keep the timing restriction on
ClientCall.getAttributes().
@zhangkun83 zhangkun83 requested a review from ejona86 June 19, 2019 22:54
@zhangkun83 zhangkun83 merged commit 9739e5b into grpc:master Jun 19, 2019
@zhangkun83 zhangkun83 deleted the stream_getattributes branch June 19, 2019 23:43
@lock lock bot locked as resolved and limited conversation to collaborators Sep 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants