diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-12-09 00:53:56 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-01-04 01:12:42 +0100 |
commit | aeb047260fefa187f5b2c5c740280c81b9ccb8f4 (patch) | |
tree | 68871219f216772b1a441f1a64ee2719d6be27a5 /kike.c | |
parent | 28fec6d4a6a30e2fdb5394e90673e60f7c46234b (diff) | |
download | xK-aeb047260fefa187f5b2c5c740280c81b9ccb8f4.tar.gz xK-aeb047260fefa187f5b2c5c740280c81b9ccb8f4.tar.xz xK-aeb047260fefa187f5b2c5c740280c81b9ccb8f4.zip |
Bump liberty, enable TLS SNI
Involves some rewrites to fit the new APIs.
SNI has been implemented Mostly just because we can, I don't think it's
widely in use and kike doesn't support this feature of the protocol either.
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3385,6 +3385,7 @@ irc_try_fetch_client (struct server_context *ctx, int listen_fd) return true; } + // FIXME: use async_getnameinfo() so that we never ever block here char host[NI_MAXHOST] = "unknown", port[NI_MAXSERV] = "unknown"; int err = getnameinfo ((struct sockaddr *) &peer, peer_len, host, sizeof host, port, sizeof port, NI_NUMERICSERV); |