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 (Updated) (JIRA)" <ji...@apache.org> on 2012/01/15 05:56:39 UTC

[jira] [Updated] (TS-1041) PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet

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

James Peach updated TS-1041:
----------------------------

    Attachment: 0001-Ensure-sockaddr-length-is-always-populated.patch

Updated patch that includes configure checks.
                
> PATCH: guarantee to populate sockaddr length for TSHostLookupResultAddrGet
> --------------------------------------------------------------------------
>
>                 Key: TS-1041
>                 URL: https://issues.apache.org/jira/browse/TS-1041
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: DNS
>         Environment: Mac OS X 10.7
>            Reporter: James Peach
>            Assignee: James Peach
>            Priority: Minor
>             Fix For: 3.1.2
>
>         Attachments: 0001-Ensure-sockaddr-length-is-always-populated.patch, 0003-Ensure-sockaddr-length-is-always-populated.patch
>
>
> The sockaddr returned by TSHostLookupResultAddrGet() does not always get it's sa_len field populated correctly. This patch guarantees to populate it to the correct value so that plugin authors can rely on that field when copying the TSHostLookupResultAddrGet() result.

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