HevSocks5Session: Sync to new auth API.

This commit is contained in:
hev 2023-09-16 21:01:36 -06:00
parent 5b43142461
commit 1000b673f3
No known key found for this signature in database
GPG key ID: DE8BBEBCEBBBDB92

View file

@ -43,7 +43,8 @@ hev_socks5_session_run (HevTProxySession *base)
hev_socks5_set_timeout (HEV_SOCKS5 (base), read_write_timeout);
if (srv->user && srv->pass) {
hev_socks5_set_auth_user_pass (HEV_SOCKS5 (base), srv->user, srv->pass);
hev_socks5_client_set_auth (HEV_SOCKS5_CLIENT (base), srv->user,
srv->pass);
LOG_D ("%p socks5 client auth %s:%s", base, srv->user, srv->pass);
}