From 535474e22e1ecb3d0548fa22f3c420b7c08e0baa Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 14 Dec 2017 15:43:06 +0100 Subject: syz-manager: add favicon handler --- syz-manager/html.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syz-manager/html.go b/syz-manager/html.go index d6d80e7bc..f64e2acdd 100644 --- a/syz-manager/html.go +++ b/syz-manager/html.go @@ -36,6 +36,8 @@ func (mgr *Manager) initHttp() { http.HandleFunc("/file", mgr.httpFile) http.HandleFunc("/report", mgr.httpReport) http.HandleFunc("/rawcover", mgr.httpRawCover) + // Browsers like to request this, without special handler this goes to / handler. + http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) {}) ln, err := net.Listen("tcp4", mgr.cfg.Http) if err != nil { -- cgit mrf-deployment