Mercurial > audlegacy-plugins
changeset 2367:04a5792e0c0f
- Try a diffenent approach for proxy auth
author | Ralf Ertzinger <ralf@skytale.net> |
---|---|
date | Fri, 08 Feb 2008 19:00:40 +0100 |
parents | f0a895a1e50d |
children | 269d1f2187bd |
files | src/neon/neon.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/neon/neon.c Fri Feb 08 12:11:13 2008 +0100 +++ b/src/neon/neon.c Fri Feb 08 19:00:40 2008 +0100 @@ -676,14 +676,15 @@ ne_set_connect_timeout(handle->session, 10); ne_set_read_timeout(handle->session, 10); - ne_set_useragent(handle->session, "Audacious/1.4.0"); + ne_set_useragent(handle->session, "Audacious/1.5.0"); if (use_proxy) { _DEBUG("<%p> Using proxy: %s:%d", handle, proxy_host, proxy_port); ne_session_proxy(handle->session, proxy_host, proxy_port); if (use_proxy_auth) { - ne_set_proxy_auth(handle->session, neon_proxy_auth_cb, handle); + _DEBUG("<%p> Using proxy authentication"); + ne_add_proxy_auth(handle->session, NE_AUTH_BASIC, neon_proxy_auth_cb, (void *)handle); } }