[
https://issues.apache.org/jira/browse/TS-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506302#comment-14506302
]
ASF subversion and git services commented on TS-3502:
-----------------------------------------------------
Commit be1e0175724562523a3a92fee29b82cc840fe252 in trafficserver's branch
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=be1e017 ]
TS-3514 TS-3502 TS-3515 Run clang-format
> 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)