shearl: s/GOAWAY/GO_AWAY, s/REFUSED_STREAM/RETRY_STREAM, s/RST_STREAM/TERMINATE_STREAM #576
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.
renamed GOAWAY to GO_AWAY to be consistent with the naming for other two-word frame types ie RST_STREAM, PUSH_PROMISE and WINDOW_UPDATE
s/REFUSED_STREAM/RETRY_STREAM The definition of REFUSED_STREAM is somewhat contradictory with the definition of the word refused. The word refused is defined as: indicate or show that one is not willing to do something (https://www.google.at/). The definition of REFUSED_STREAM in Section 7 references section 8.1.4 which says that a REFUSED_STREAM is safe to retry. In other words the server is actually willing to process the stream, but currently unable (e.g. because the client overran settings and so the client needs to retry the stream with the new settings.)
s/RST_STREAM/TERMINATE_STREAM The definition of RST_STREAM doesn't match the meaning of the word reset. The word reset generally means: "cause (a binary device) to enter the state representing the numeral 0." [http://www.oxforddictionaries.com/definition/english/reset] In other words, the word reset implies that the stream should be reset back to its original state (i.e. IDLE), but RST_STREAM immediately takes a stream to its terminal state (i.e. CLOSED).