magiclen / whois-rust

This is a WHOIS client library for Rust, inspired by https://github.com/hjr265/node-whois
MIT License
19 stars 9 forks source link

Errors on specific IP addresses #3

Open SteveBattista opened 2 years ago

SteveBattista commented 2 years ago

I get a timeout error on 65.49.0.0 - 65.49.127.255 (Hurricane Eletric) I get a stream did not contain valid UTF-8 error on 185.73.124.0 - 185.73.124.255 (jaredltd noc in LV) It will require loading the output of the results into a Vec then performing a from_utf8_lossy(v: &'a [u8]) -> Cow<'a, str>

I'm looking though the code to see why this could be so, I don't know why these occur or how to fix them.