mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
proxy: credentials of an earlier request not inherited by the next
This commit is contained in:
1 parent
796eff444a
commit
79583d7aa7
2 files changed
+26
No files matched your search
@@ -632,6 +632,15 @@ for(;;){
|
||||
hdrfree(&buf, &bufown);
|
||||
hdrsdone = 0;
|
||||
|
||||
/* What the request brought belongs to it alone. A connection can carry
|
||||
a request after another's, so the credentials of an earlier request
|
||||
decide nothing for this one. */
|
||||
*param->username = 0;
|
||||
*param->password = 0;
|
||||
param->pwtype = 0;
|
||||
*param->extusername = 0;
|
||||
*param->extpassword = 0;
|
||||
|
||||
if(keepalive && (param->cliinbuf == param->clioffset) && (param->remsock != INVALID_SOCKET)){
|
||||
memset(fds, 0, sizeof(fds));
|
||||
fds[0].fd = param->clisock;
|
||||
|
||||
Reference in new issue
Block a user