You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (Commented JIRA)" <ji...@apache.org> on 2011/12/09 11:38:41 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13166050#comment-13166050 ] 

Igor Galić commented on TS-1041:
--------------------------------

s/sa_len/sa_len|sin_len(6)/ ?
                
> 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
>            Priority: Minor
>         Attachments: 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