Name lookup can take too long with a bad server
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
If a bad server is specified, the name lookup takes too long / never ends.
eg: I made a lookup with a non existing server:
[1478803235.690|25072|namedirectory.cpp:181 ] Name lookup for ssalenikovich1: http://bleepbloop/name/ssalenikovich1
And never seemed to get a response from the daemon after several minutes of waiting.
The problem is twofold:
1. the daemon should timeout (sooner)
2. the UI should probably have a way of cancelling the lookup if it is taking too long.