[
https://issues.apache.org/jira/browse/THRIFT-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King, III resolved THRIFT-3947.
----------------------------------------
Resolution: Fixed
Fix Version/s: 0.11.0
All of the C++ library calls to getsockname were correct; there was just some
Lua native code that needed to be updated.
> sockaddr type isn't always large enough for the return of getsockname
> ---------------------------------------------------------------------
>
> Key: THRIFT-3947
> URL: https://issues.apache.org/jira/browse/THRIFT-3947
> Project: Thrift
> Issue Type: Bug
> Components: Lua - Library
> Affects Versions: 0.9.3, 0.10.0
> Reporter: James E. King, III
> Assignee: James E. King, III
> Priority: Minor
> Labels: IPv6
> Fix For: 0.11.0
>
>
> Based on a conversation in THRIFT-1944 this was still an issue mid-2015,
> moving it out to a separate ticket.
> [~ben.craig] said:
> {quote}
> sockaddr_storage is recommended data type for this. I think main case is ipv6
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)