draft-ietf-httpbis-http2-latest, 6.8 GOAWAY

Hypertext Transfer Protocol version 2
http://http2.github.io/http2-spec/
July 3, 2014

6.8 GOAWAY
http://http2.github.io/http2-spec/#rfc.section.6.8

| There is an inherent race condition between an endpoint starting new
| streams and the remote sending a GOAWAY frame. To deal with this case,
| the GOAWAY contains the stream identifier of the last stream which was
| or might be processed on the sending endpoint in this connection. …

I do not see that explicitly mentioned, but I suppose that:

  If http server sends GOAWAY frame, Last-Stream-ID is stream identifier which
  http client is created and server is started processing. ( If http
  client have not created any streams, Last-Stream-ID is 0. )

  If http client sends GOAWAY frame, Last-Stream-ID is stream identifier
  which http server is created and client is started processing. ( If http
  server have not created any streams, Last-Stream-ID is 0. )

That is implicitly mentioned on

| The last stream identifier in the GOAWAY frame contains the highest
| numbered stream identifier for which the sender of the GOAWAY frame
| might have taken some action on, or might yet take action on. All
| streams up to and including the identified stream might have been
| processed in some way. The last stream identifier can be set to 0 if
| no streams were processed. 

/ Kari Hurtta

Received on Monday, 7 July 2014 09:40:27 UTC