[tarantool-patches] Re: [PATCH 3/5] sio: return 'no host' flag from sio_uri_to_addr()
Konstantin Osipov
kostja at tarantool.org
Wed May 1 08:18:18 MSK 2019
* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/05/01 08:07]:
> Results of sio_uri_to_addr("0.0.0.0:port") and
> sio_uri_to_addr("port") are indistinguishable - both fill
> sockaddr_in.sin_addr as INADDR_ANY. But SWIM wants to forbid the
> former, and allow the latter. In case if only port is specified,
> host will be 'localhost'.
>
> This commit returns a flag from sio_uri_to_addr() signaling if a
> host was specified.
I don't see how you're using the return value. What am I not
understanding?
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
More information about the Tarantool-patches
mailing list