Fix FTP over HTTP authentication

Send WWW-Authenticate instead of Proxy-Authenticate
This commit is contained in:
z3APA3A 2015-09-01 15:24:03 +03:00
parent 59cc68e8dd
commit 3198f1614f
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ char * proxy_stringtable[] = {
"<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"
"Proxy-Authenticate: basic realm=\"FTP Server\"\r\n"
"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
"Proxy-Connection: close\r\n"
"Content-type: text/html; charset=us-ascii\r\n"
"\r\n"

View File

@ -1,2 +1,2 @@
#define VERSION "3proxy-0.8b-devel"
#define BUILDDATE "150831214516"
#define BUILDDATE "150901150708"