Re: Questions on Server Push

(2013/06/04 9:07), Martin Thomson wrote:
> On 3 June 2013 17:02, Shigeki Ohtsu <ohtsu@iij.ad.jp> wrote:
>> then  PUSH_PROMISE on step2 seemed to be sent from server on the
>> half-closed stream 1. Do we need to change the spec so as to permit
>> to send PUSH_PROMISE on a half-closed stream?
>
> Half-closed is directional.  You can't send on a stream that is
> half-closed in the direction you are sending, but you can send on the
> open half.  If it weren't directional, the server couldn't send a
> response.

Oh, I understood. I thought "a half-closed stream" means the state of stream
where either endpoint has already sent the FINAL.

The spec means that "A server cannot send a PUSH_PROMISE on a new stream or a half-closed
stream (on which FINAL has already sent from the server)."

Thanks.

Received on Tuesday, 4 June 2013 00:24:19 UTC