Remove HTTP method logging
git-svn-id: file:///srv/svn/repo/marisa/trunk@6 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
@@ -96,8 +96,6 @@ func servefile(f *os.File, w http.ResponseWriter) {
|
|||||||
|
|
||||||
func parse(w http.ResponseWriter, r *http.Request) {
|
func parse(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
fmt.Printf("%s %s\n", r.Method, r.URL.Path)
|
|
||||||
|
|
||||||
// Max 15 Gb uploads
|
// Max 15 Gb uploads
|
||||||
if r.ContentLength > conf.maxsize {
|
if r.ContentLength > conf.maxsize {
|
||||||
w.WriteHeader(http.StatusRequestEntityTooLarge)
|
w.WriteHeader(http.StatusRequestEntityTooLarge)
|
||||||
|
|||||||
Reference in New Issue
Block a user