Other than being redundant, is there anything that motivates your proposal? We're talking about data carried in a bit-field that is currently not being used for much other than FIN flags.
That procedure is fine.
We need to make the SPDY/4 repository for this + flow control changes.
That will push what we were calling SPDY/4 ( explicit proxy support, name and cert data push) to SPDY/5.
-=R
It is true that we don't need the UNIDIRECTIONAL markings. It is added because it avoids the recipient of pushed streams from needing to send a set of empty frames (e.g. the SYN_STREAM w/ FLAG_FIN) which otherwise serve no purpose."
Mike
I don't think this is a big deal, we can make the change.For the record, the UNIDIRECTIONAL was not written as exclusively for PUSH streams. If we use the "associated-stream-id != 0" to infer UNIDIRECTIONAL, that has the side effect of making all server pushes unidirectional (probably ok) and also making UNIDIRECTIONAL not-possible on non-push streams.
Nonetheless, this question has come up before, which is why it was explicitly addressed in section 4.6:"Many readers notice that unidirectional streams are both a bit confusing in concept and also somewhat redundant. If the recipient of a stream doesn't wish to send data on a stream, it could simply send a SYN_REPLY with the FLAG_FIN bit set. The FLAG_UNIDIRECTIONAL is, therefore, not necessary.It is true that we don't need the UNIDIRECTIONAL markings. It is added because it avoids the recipient of pushed streams from needing to send a set of empty frames (e.g. the SYN_STREAM w/ FLAG_FIN) which otherwise serve no purpose."