Remove HTTP method logging

git-svn-id: file:///srv/svn/repo/marisa/trunk@6 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
dev
2021-10-11 15:20:55 +00:00
parent 4012ce8473
commit 7710490ea9

View File

@@ -96,8 +96,6 @@ func servefile(f *os.File, w http.ResponseWriter) {
func parse(w http.ResponseWriter, r *http.Request) {
fmt.Printf("%s %s\n", r.Method, r.URL.Path)
// Max 15 Gb uploads
if r.ContentLength > conf.maxsize {
w.WriteHeader(http.StatusRequestEntityTooLarge)