mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gproxyresolver: allow implicit ports in URIs
If the port is not specified, then a default port should be assumed. This is how everybody expects URIs to work and it's how GProxyResolver should work too. We already have lots of tests to ensure this works as expected; however, the documentation currently does not allow it. Change the documentation to match reality. Fixes #2832
This commit is contained in:
parent
1c3f992f11
commit
d246d09e5b
@ -131,7 +131,7 @@ g_proxy_resolver_is_supported (GProxyResolver *resolver)
|
||||
*
|
||||
* Looks into the system proxy configuration to determine what proxy,
|
||||
* if any, to use to connect to @uri. The returned proxy URIs are of
|
||||
* the form `<protocol>://[user[:password]@]host:port` or
|
||||
* the form `<protocol>://[user[:password]@]host[:port]` or
|
||||
* `direct://`, where <protocol> could be http, rtsp, socks
|
||||
* or other proxying protocol.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user