In http2 protocol, there are two concepts: local, remote, what do they mean?

29 views
Skip to first unread message

Grpc learner

unread,
Aug 12, 2018, 4:41:09 PM8/12/18
to grpc.io
I have seen `reserved(local / remote)` or halfclose(local / remote), what do they mean?

Grpc learner

unread,
Aug 12, 2018, 8:41:58 PM8/12/18
to grpc.io
Why reserved (local) send a header then become half close ( remote)? why change from local to remote?

Yuxuan Li

unread,
Aug 15, 2018, 1:52:44 PM8/15/18
to grpc.io
Reserved state is specific to PUSH_PROMISE. Please refer to https://httpwg.org/specs/rfc7540.html#rfc.section.8.2 for more info about the state transition. Note that grpc does not use or handle PUSH_PROMISE.

As for local/remote, halfclose(local) means the local endpoint will no longer send frames other than WINDOW_UPDATE, PRIORITY, and RST_STREAM, but the remote is free to send any frame. And vice versa. local and remote is to indicate which side will no longer send. There's more detailed explanation here https://httpwg.org/specs/rfc7540.html#StreamStates.
Reply all
Reply to author
Forward
0 new messages