Procházet zdrojové kódy

Fix FTP over HTTP authentication

Send WWW-Authenticate instead of Proxy-Authenticate
z3APA3A před 10 roky
rodič
revize
3198f1614f
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/proxy.c
  2. 1 1
      src/version.h

+ 1 - 1
src/proxy.c

@@ -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"

+ 1 - 1
src/version.h

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