Skip to content

gsocks5proxy: Always advertise username/password authentication support

Philip Withnall requested to merge pwithnall/glib:1988-socks5-error into master

Rather than only advertising it when a username and password have been provided by the caller. That meant that GSocks5Proxy would never be able to return G_IO_ERROR_PROXY_NEED_AUTH, since the proxy server would never request username/password authentication, since GLib claimed to not support it (if a username and password were not already provided).

Signed-off-by: Philip Withnall withnall@endlessm.com

Fixes: #1988 (closed)

Merge request reports