You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "B Wyatt (Updated) (JIRA)" <ji...@apache.org> on 2012/01/23 16:45:40 UTC

[jira] [Updated] (TS-1087) TSHttpTxnOutgoingAddrSet forward declaration does not match implementation

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

B Wyatt updated TS-1087:
------------------------

    Attachment: txn-outgoing-addr.patch

This version of a "Fix" is small but requires any plugins that use the function (there can't be any that are up-to-date and working) to change their source.
                
> 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
>            Priority: Trivial
>         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