[ 
https://issues.apache.org/jira/browse/TS-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yunkai Zhang updated TS-2760:
-----------------------------

    Attachment: 0002-TS-2760-Use-TSFetchClientProtoStackSet-API-in-SPDY.patch
                0001-TS-2760-Add-TSFetchClientProtoStackSet-Get-API-in-ex.patch

> Add TSFetchClientProtoStackSet/Get() API in experimental.h
> ----------------------------------------------------------
>
>                 Key: TS-2760
>                 URL: https://issues.apache.org/jira/browse/TS-2760
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: TS API
>            Reporter: Yunkai Zhang
>            Assignee: Yunkai Zhang
>         Attachments: 
> 0001-TS-2760-Add-TSFetchClientProtoStackSet-Get-API-in-ex.patch, 
> 0002-TS-2760-Use-TSFetchClientProtoStackSet-API-in-SPDY.patch
>
>
> Users need a way to set/get client protocol stack when working with TSFetchSM 
> extended API, I'll add two API showed as below:
> {code}
>   /*
>    * Set client protocol stack in FetchSM
>    *
>    * @param fetch_sm: returned value of TSFetchCreate().
>    * @param proto_stack: client protocol stack.
>    */
>   tsapi void TSFetchClientProtoStackSet(TSFetchSM fetch_sm, 
> TSClientProtoStack proto_stack);
>   /*
>    * Get client protocol stack in FetchSM
>    *
>    * @param fetch_sm: returned value of TSFetchCreate().
>    *
>    * return the client protocol stack of fetch_sm.
>    */
>   tsapi TSClientProtoStack TSFetchClientProtoStackGet(TSFetchSM fetch_sm);
> {code}
> SPDY in core need these API to add "TS_PROTO_SPDY" to the protocol stack, so 
> that logging module can record protocol stack correctly.
> Actually, these two API had been implemented in Taobao's branch, I forgot to 
> migrate them to ATS core, all it's my wrong.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to