Brad House

Results 249 comments of Brad House

Upon further research, you may actually be encountering non-standard extensions introduced by systemd: [https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Synthetic%20Records](https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html#Synthetic%20Records)

Interesting, missed the falling within ".localhost.", wonder why this isn't universally supported then.

I don't think I necessarily have a problem with the idea of caching the /etc/hosts data. Afterall, we cache the server configs (/etc/resolv.conf). That said, I'd like to see an...

PR #272 did go stale and was a linux-only solution which unfortunately won't work for a cross-platform system. It also would likely cause crashes or some undefined behavior if there...

I sort of doubt the act of the file reading is going to be the main culprit. By default fopen() and friends do buffered file accesses, and then you have...

What is provided probably needs to be a hashtable, or if that's too costly, a sorted list that you can use a binary search on, otherwise the scanning will still...

yeah, there's tons of implementations out there of course. I've even written them before ... https://github.com/Monetra/mstdlib/blob/master/base/hash/m_hashtable.c the point is c-ares doesn't currently have stuff like that.

Unfortunately these are autogenerated by the cmake build process, I don't think there's any way to easily generate these with autotools and I'm not really aware of any other libraries...

If you want to easily install the PR #845 that contains this fix without manually patching, you can run something like: `pip install git+https://github.com/mitogen-hq/mitogen.git@refs/pull/845/merge`

The description isn't exactly accurate about the behavior. See https://github.com/c-ares/c-ares/pull/551 for a better description, but basically a change was made in c-ares 1.20.0 to not go through the entire timeout...