Unvendor x/net/http2

This commit is contained in:
Ken-Håvard Lieng 2017-04-15 04:52:40 +02:00
parent 37c8e780bc
commit 64a4bfbd8a
51 changed files with 2 additions and 23185 deletions

View file

@ -208,8 +208,8 @@ func serveIndex(w http.ResponseWriter, r *http.Request) {
cookie, err := r.Cookie("push")
if err != nil {
err = pusher.Push("/"+files[1].Path, options)
err = pusher.Push("/"+files[0].Path, options)
pusher.Push("/"+files[1].Path, options)
pusher.Push("/"+files[0].Path, options)
setPushCookie(w, r)
} else {
pushed := false