mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 18:40:03 +01:00
Add some tests for socks:// URI default ports
This also tests socks5h:// which we don't actually support yet, just to make sure it works, which it does.
This commit is contained in:
parent
cc5bb80b9a
commit
d624c850b2
@ -1912,6 +1912,16 @@ static const struct
|
||||
"ftp", "", 21 },
|
||||
{ "scheme://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"scheme", "", -1 },
|
||||
{ "socks://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"socks", "", 1080 },
|
||||
{ "socks4://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"socks4", "", 1080 },
|
||||
{ "socks4a://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"socks4a", "", 1080 },
|
||||
{ "socks5://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"socks5", "", 1080 },
|
||||
{ "socks5h://foo", G_URI_FLAGS_SCHEME_NORMALIZE,
|
||||
"socks5h", "", 1080 },
|
||||
};
|
||||
|
||||
static const struct
|
||||
|
Loading…
x
Reference in New Issue
Block a user