mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-13 12:19:17 +08:00
Compare commits
2 Commits
03121bf916
...
da085cab0d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da085cab0d | ||
|
|
932c4e3fd9 |
@ -247,6 +247,7 @@ void * proxychild(struct clientparam* param) {
|
||||
int redirect = 0;
|
||||
int prefix = 0, ckeepalive=0;
|
||||
int ftp = 0;
|
||||
int ssoff = 0;
|
||||
#ifndef ANONYMOUS
|
||||
int anonymous;
|
||||
#endif
|
||||
@ -338,6 +339,7 @@ for(;;){
|
||||
|
||||
if ((sb=(unsigned char *)(unsigned char *)strchr((char *)buf, ' ')) == NULL) {RETURN(512);}
|
||||
ss = ++sb;
|
||||
ssoff = (int)(ss - buf);
|
||||
if(!isconnect) {
|
||||
if (!strncasecmp((char *)sb, "http://", 7)) {
|
||||
sb += 7;
|
||||
@ -640,6 +642,7 @@ for(;;){
|
||||
ckeepalive = 1;
|
||||
if(ftpbase) free(ftpbase);
|
||||
ftpbase = NULL;
|
||||
ss = buf + ssoff;
|
||||
if(!(sp = (unsigned char *)strchr((char *)ss, ' '))){RETURN(799);}
|
||||
*sp = 0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user