]> git.ipfire.org Git - thirdparty/curl.git/commit
socks5: use appropriate ATYP for numerical IP address host names
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2022 10:29:21 +0000 (11:29 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Jan 2022 21:32:05 +0000 (22:32 +0100)
commiteffd2bd7ba2a5fd24487bddbaa1f7803c59f935d
treef4a9afc8cbd9d4e3effcc411b1670a23fe57c772
parent53a3e90e06b1a683487836366002b841125e1219
socks5: use appropriate ATYP for numerical IP address host names

When not resolving the address locallly (known as socks5h).

Add test 719 and 720 to verify.

Reported-by: Peter Piekarski
Fixes #8216
Closes #8217
lib/socks.c
tests/data/Makefile.inc
tests/data/test719 [new file with mode: 0644]
tests/data/test720 [new file with mode: 0644]
tests/server/socksd.c