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

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

Commit 0bbef1e046fbe950ef2529d8d10ba55d5ce05ef7 in trafficserver's branch 
refs/heads/master from [~sudheerv]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=0bbef1e ]

[TS-3502]: Fix indendation(remove trailing white spaces)


> TS API to get origin socket fd
> ------------------------------
>
>                 Key: TS-3502
>                 URL: https://issues.apache.org/jira/browse/TS-3502
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Plugins
>            Reporter: Sudheer Vinukonda
>            Assignee: Sudheer Vinukonda
>              Labels: Review
>             Fix For: 6.0.0
>
>
> Currently, there's an API to get the client socket's fd 
> {{TSHttpTxnClientFdGet}} and {{TSHttpSsnClientFdGet}}. This API is used by 
> the {{tcpinfo}} plugin to get tcp stats for the client side socket. This jira 
> proposes to add the corresponding API for server socket fd.
> {code}
> TSReturnCode TSHttpTxnServerFdGet(TSHttpTxn txnp, int *fdp);
> {code}
> For the server side, it should never be possible to have a Ssn without Txn, a 
> Ssn wrapper API (e.g.{{TSHttpSsnServerFdGet}}) is not required
> Note that the API will return {{TS_ERROR}} for a txn that returns a cached 
> response with the fd set to {{-1}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to