> Any decision on this? Should I open a ticket?
>
> On Thu, Aug 4, 2011 at 11:38 AM, Yaniv Aknin <[email protected]> wrote:
>
>> Hi,
>>
>> Looking at utils.c in the function logto(), I'd like to suggest a
>> gethostbyname() call be made on udp_addr prior to connect().
>>
>> This way it will be also possible to do:
>> uwsgi --daemonize myhost.domain.com
>> ...which is nicer than an IP address.
>>
>> Roberto, if you agree this is a good idea, I don't mind opening a
>> ticket.
>>
>> Cheers,
>>  - Yaniv
>>
> _______________________________________________
>

It should be in the next rc2 (tomorrow), but i would mark it as dangerous
as i do not want to block app startup/reload in case of dns failure.

Some form of cache or strong fallback should be implemented.

Another area of interest would be having a dns async resolver (like nginx
and gevent) to allows uwsgi.async_connect() to use dns names.


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to