domainr / whois

Whois client for Go.
https://domainr.com
MIT License
395 stars 70 forks source link

ReadLimit is not configurable #370

Open coelho opened 3 months ago

coelho commented 3 months ago

DefaultReadLimit is a constant fixed at 1 MB that is not configurable (despite what the constant's name implies). https://github.com/domainr/whois/blob/main/client.go#L20

Unfortunately, Whois replies can exceed 1 MB, so this can cause issues.