- client: Use HTTP_OP::pi to avoid a crash when using a proxy. libcurl uses

the proxy information after the PROXY_INFO struct in setup_proxy_session()
        had been popped off the stack.
        
    client/
        http_curl.cpp,h

svn path=/trunk/boinc/; revision=18974
This commit is contained in:
Rom Walton 2009-09-01 17:14:39 +00:00
parent 1f7dec108a
commit 3f5034618c
2 changed files with 9 additions and 1 deletions

View File

@ -7404,3 +7404,11 @@ David 1 Sept 2009
scheduler_op.cpp
lib/
proxy_info.cpp,h
Rom 1 Sept 2009
- client: Use HTTP_OP::pi to avoid a crash when using a proxy. libcurl uses
the proxy information after the PROXY_INFO struct in setup_proxy_session()
had been popped off the stack.
client/
http_curl.cpp,h

View File

@ -806,7 +806,7 @@ void HTTP_OP::setup_proxy_session(bool no_proxy) {
return;
}
PROXY_INFO pi = gstate.proxy_info;
pi = gstate.proxy_info;
if (pi.use_http_proxy) {
if (log_flags.proxy_debug) {
msg_printf(