hatoo / oha

Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation.
MIT License
5.62k stars 138 forks source link

Support termux , DNS resolv #463

Closed nanqic closed 6 months ago

nanqic commented 6 months ago

In termux the DNS file in $PREFIX/etc/resolv.conf .

So got error when run oha in termux :

Error: DNS: failed to load /etc/resolv.conf

Caused by:
    io error: No such file or directory (os error 2)

May you fit it in termux ? Thank you.

hatoo commented 6 months ago

Hi! This is really great issue!

I've implemented something on #464

Could you try on your side? If you don't want to build oha yourself, you can download a binary from https://github.com/hatoo/oha-release-test/releases/tag/v1.4.4-termux-2

nanqic commented 6 months ago

Wow, it works! Thanks a lot for this awesome project!