If we allow socks4_server_reply_version to be zero, then we'll need to explicitly set it to 4 in proto_socks.c so that we're sending the right value from Tor, right?
Do we have a ticket for adding tests for tor-resolve?
I'll make all the above changes before merging, if the CI passes.
Though actually, tor_strdup() would be fine here, since the trunnel "getstr" functions return nul-terminated strings.
If we allow socks4_server_reply_version to be zero, then we'll need to explicitly set it to 4 in proto_socks.c so that we're sending the right value from Tor, right?
Oh. apparently we don't do that. That's okay.
Do we have a ticket for adding tests for tor-resolve?