Bläddra i källkod

mosdns: Fix HASH and refrsh patch.

zxlhhyccc 2 veckor sedan
förälder
incheckning
8f1ee17cc5

+ 1 - 1
mosdns/Makefile

@@ -10,7 +10,7 @@ PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/IrineSistiana/mosdns/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=f4bfe53a63980698addb0505d706422e66df2ea44860bfc52dd8b837b3dc1c5c
+PKG_HASH:=0302a685db2a6c3c09af7bf4ff0dffd24f1e583383a47f064564f5270033671b
 
 PKG_LICENSE:=GPL-3.0
 PKG_LICENSE_FILE:=LICENSE

+ 1 - 1
mosdns/patches/203-add-response-for-bad-request-in-ServeHTTP-handler.patch

@@ -9,7 +9,7 @@ Subject: [PATCH 3/5] add response for bad request in ServeHTTP handler
 
 --- a/pkg/server/http_handler.go
 +++ b/pkg/server/http_handler.go
-@@ -93,6 +93,7 @@ func (h *HttpHandler) ServeHTTP(w http.R
+@@ -91,6 +91,7 @@ func (h *HttpHandler) ServeHTTP(w http.R
  	if err != nil {
  		h.warnErr(req, "invalid request", err)
  		w.WriteHeader(http.StatusBadRequest)