diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-12-14 15:43:06 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-12-17 11:39:14 +0100 |
| commit | 535474e22e1ecb3d0548fa22f3c420b7c08e0baa (patch) | |
| tree | 9c0c4a083d4d99cb3c093f52b8902f5deaf8e0ba | |
| parent | 35ec89f46f7fd324a3d5c597dec25a122dad524c (diff) | |
syz-manager: add favicon handler
| -rw-r--r-- | syz-manager/html.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |
