StreamState

If local peer is stream initiator: OPENING : upon sending request HEADERS OPENED : upon receiving response HEADERS CLOSING : upon queuing RST_STREAM

If remote peer is stream initiator: OPENING : upon receiving request HEADERS OPENED : upon sending response HEADERS CLOSING : upon queuing RST_STREAM

Values

ValueMeaning
INITIAL

Initial state

OPENING

For stream initiator: request HEADERS has been sent, but response HEADERS has not been received yet. For receiver: request HEADERS has been received, but it does not send response HEADERS yet.

OPENED

For stream initiator: response HEADERS is received. For receiver: response HEADERS is sent.

CLOSING

RST_STREAM is received, but somehow we need to keep stream in memory.

RESERVED

PUSH_PROMISE is received or sent

IDLE

Stream is created in this state if it is used as anchor in dependency tree.

Meta