You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (Commented) (JIRA)" <ji...@apache.org> on 2012/03/07 06:30:18 UTC
[jira] [Commented] (TS-1087) TSHttpTxnOutgoingAddrSet forward
declaration does not match implementation
[ https://issues.apache.org/jira/browse/TS-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223986#comment-13223986 ]
James Peach commented on TS-1087:
---------------------------------
Bart, maybe a better approach is to change the implementation to not need the socklen_t parameter? It's implied by the address family, so should not be necessary. This would fix the bug and not require plugin changes.
> TSHttpTxnOutgoingAddrSet forward declaration does not match implementation
> --------------------------------------------------------------------------
>
> Key: TS-1087
> URL: https://issues.apache.org/jira/browse/TS-1087
> Project: Traffic Server
> Issue Type: Bug
> Components: TS API
> Affects Versions: 3.1.0
> Reporter: B Wyatt
> Assignee: B Wyatt
> Priority: Trivial
> Fix For: 3.1.5
>
> Attachments: txn-outgoing-addr.patch
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> ts.h.in lists the following declaration:
> {code}TSReturnCode TSHttpTxnOutgoingAddrSet(TSHttpTxn txnp, struct sockaddr const* addr);{code}
> However, the current implementation has this function sig:
> {code}tsapi TSReturnCode TSHttpTxnOutgoingAddrSet(TSHttpTxn txnp, struct sockaddr const* addr, socklen_t addrlen);{code}
> Trafficserver is unable to load plugins which use this function due to the unresolved symbol.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira