this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(server) fix missing http1 listener

eagleusb 77229b0f 768f24ed

+2 -1
+2 -1
internal/handlers/server.go
··· 32 32 Protocols: &http.Protocols{}, 33 33 } 34 34 35 + s.Protocols.SetHTTP1(true) 35 36 s.Protocols.SetHTTP2(true) 36 37 s.Protocols.SetUnencryptedHTTP2(true) 37 38 38 - slog.Debug("http server protocol", "http2", s.Protocols.HTTP2(), "unencrypted", s.Protocols.UnencryptedHTTP2()) 39 + slog.Debug("http server protocol", "http1", s.Protocols.HTTP1(), "http2", s.Protocols.HTTP2(), "unencrypted", s.Protocols.UnencryptedHTTP2()) 39 40 40 41 if err := s.ListenAndServe(); err != nil { 41 42 return err