You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/02/04 19:55:49 UTC

[jira] [Closed] (TS-3502) TS API to get origin socket fd

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

Leif Hedstrom closed TS-3502.
-----------------------------

> 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)