[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939095: RFS: axtls/2.1.5+ds-1 [ITP] -- Highly configurable client/server TLSv1.2 library



Adam Borowski <kilobyte@angband.pl> 于2019年12月24日周二 上午6:42写道:
>
> On Mon, Dec 23, 2019 at 03:17:36PM +0800, Yangfl wrote:
> > Hmm clearly lua-bitop is lack of support for lua5.3. Have to remove
> > the lua test part and hope everything will be fine...
>
> It builds and passes tests now, but trying to run the example server fails
> with:
>
> axhttpd -p 8080
> ERR: Couldn't bind to port 8080
>
> With strace, I see:
>
> socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) = 3
> setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> bind(3, {sa_family=AF_INET6, sa_data="\37\220\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EINVAL (Invalid argument)
>
> or
>
> socket(AF_INET6, SOCK_STREAM, IPPROTO_IP) = 3
> setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> bind(3, {sa_family=AF_INET6, sa_data="\37\220|\177\0\0\0\0\0\0\0\0\0\0"}, 16) = -1 EINVAL (Invalid argument)
>
> Same with -s, or on two other machines (amd64 and arm64).
>
Works under new patch fixing the call to bind.


Reply to: