소스 검색

Fix FTP over HTTP authentication

Send WWW-Authenticate instead of Proxy-Authenticate
z3APA3A 10 년 전
부모
커밋
3198f1614f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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"