Re: HTTP/2 extensions and proxies

Le Lun 30 septembre 2013 13:34, Amos Jeffries a écrit :
> On 30/09/2013 7:54 p.m., Gábor Molnár wrote:
>> Currently, "Implementations MUST ignore frames of unsupported or
>> unrecognized types.". As far as I see, the point of this is to enable
>> the extension of the protocol in a backwards compatible way.
>>
>> But what about proxies? Should they ignore unrecognized frames too, or
>> should they forward them? If they drop every unknown frame, it is not
>> possible to specify end-to-end extensions. Is this constraint
>> intentional? I think that end-to-end extensions would be useful, too,
>> e.g. WebSockets over HTTP2 if a HTTP2 proxy does not support
>> WebSockets explicitly.
>
> And if they pass all unknown frames it will not be possible to develope
> future hop-by-hop extensions.

However it would be a should at most since if you require a security node
to pass on blindly stuff it does not understand the requirement will just
be ignored.

> I think there needs to be a flag indicating which group the frame
> belongs to

There is definitely a need for frames to specify their actual destination,
and the content of those frames should be protected accordingly (ie enough
shared info other nodes know to whom the frame should be routed, and
evaluate if they want to authorise the routing, but actual content not
shared with every node only by emitter and destination)

-- 
Nicolas Mailhot

Received on Tuesday, 1 October 2013 08:38:18 UTC