Hi all,

I'd like to add a new API to support Server Push[1] introduced by HTTP/2.

    void TSHttpTxnServerPush(TSHttpTxn txnp, const char *url, int url_len)

This allows plugins to push contents with Server Push mechanism
supported by client session protocols. Currently, the API can be used
with HTTP/2 sessions but it will be used with QUIC[2] sessions too in
the future.

I think the API should be marked as experimental, and it need to be
brushed up with practical use cases. However, at least, it should
satisfy the simple approaches discussed on TS-3474.

JIRA:
    https://issues.apache.org/jira/browse/TS-3474

Pull Request:
    https://github.com/apache/trafficserver/pull/833

[1] https://tools.ietf.org/html/rfc7540#section-8.2
[2] https://tools.ietf.org/html/draft-shade-quic-http2-mapping-00#section-9

Thanks,
Masakazu

Reply via email to