mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
Fix FTP over HTTP authentication
Send WWW-Authenticate instead of Proxy-Authenticate
This commit is contained in:
parent
59cc68e8dd
commit
3198f1614f
@ -118,7 +118,7 @@ char * proxy_stringtable[] = {
|
|||||||
"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
|
"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
|
||||||
|
|
||||||
/* 16*/ "HTTP/1.0 401 Authentication Required\r\n"
|
/* 16*/ "HTTP/1.0 401 Authentication Required\r\n"
|
||||||
"Proxy-Authenticate: basic realm=\"FTP Server\"\r\n"
|
"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
|
||||||
"Proxy-Connection: close\r\n"
|
"Proxy-Connection: close\r\n"
|
||||||
"Content-type: text/html; charset=us-ascii\r\n"
|
"Content-type: text/html; charset=us-ascii\r\n"
|
||||||
"\r\n"
|
"\r\n"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#define VERSION "3proxy-0.8b-devel"
|
#define VERSION "3proxy-0.8b-devel"
|
||||||
#define BUILDDATE "150831214516"
|
#define BUILDDATE "150901150708"
|
||||||
|
Loading…
Reference in New Issue
Block a user