It's time to flip the version number

This commit is contained in:
Star Brilliant
2018-03-21 02:38:13 +08:00
parent 26d4cd413d
commit a81a7eff58
3 changed files with 4 additions and 4 deletions

View File

@@ -82,8 +82,8 @@ func (s *Server) Start() error {
}
func (s *Server) handlerFunc(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Server", "DNS-over-HTTPS/1.0 (+https://github.com/m13253/dns-over-https)")
w.Header().Set("X-Powered-By", "DNS-over-HTTPS/1.0 (+https://github.com/m13253/dns-over-https)")
w.Header().Set("Server", "DNS-over-HTTPS/1.1 (+https://github.com/m13253/dns-over-https)")
w.Header().Set("X-Powered-By", "DNS-over-HTTPS/1.1 (+https://github.com/m13253/dns-over-https)")
if r.Form == nil {
const maxMemory = 32 << 20 // 32 MB