[ 
https://issues.apache.org/jira/browse/TS-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982248#comment-13982248
 ] 

ASF subversion and git services commented on TS-2760:
-----------------------------------------------------

Commit 3f0f40b678fcd519c6f29bf5493de4b9e71fc9d4 in trafficserver's branch 
refs/heads/master from [~yunkai]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=3f0f40b ]

TS-2760: Add TSFetchClientProtoStackSet/Get() API in experimental.h

Users need a way to set/get client protocol stack when working with
TSFetchSM extended API.

Actually, these two API had been implemented in Taobao's branch, I forgot
to migrate them to ATS core, all it's my wrong.

Signed-off-by: Yunkai Zhang <[email protected]>


> 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
>             Fix For: 5.0.0
>
>         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