twitter/twemproxy — pull request #40 by conmame (2012-12-30 10:51:07+00:00)
Title: Fix Long server  FQDN can not work

This patch allows over 44words FQDN for backend server name.

In AWS ElastiCache provides long server name (eg. cache-cluster-hoge.bixxxx.0001.apne1.cache.amazonaws.com)

But,
https://github.com/twitter/twemproxy/blob/master/src/nc_util.c#L461
https://github.com/twitter/twemproxy/blob/master/src/nc_util.h#L40

NC_INET_ADDRSTRLEN limits 45words.
So, Domain is not recognized only up to 44 characters.