webfs: fix proxy authentication
This commit is contained in:
parent
0da5888901
commit
5275d49d8f
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost)
|
||||||
goto Error;
|
goto Error;
|
||||||
if(x = lookkey(shdr, "Proxy-Authorization"))
|
if(x = lookkey(shdr, "Proxy-Authorization"))
|
||||||
flushauth(proxy, x);
|
flushauth(proxy, x);
|
||||||
if(hauthenticate(u, &ru, method, "Proxy-Authenticate", rhdr) < 0)
|
if(hauthenticate(proxy, proxy, method, "Proxy-Authenticate", rhdr) < 0)
|
||||||
goto Error;
|
goto Error;
|
||||||
}
|
}
|
||||||
case 0: /* No status */
|
case 0: /* No status */
|
||||||
|
|
Loading…
Reference in a new issue