Re: [go-nuts] Re: golang and http2

2017-11-15 Thread Josh Humphries
One serious potential issue is that the URL scheme is still "http" (or "https") for both. With TLS, the client and server can negotiate an on-the-wire protocol using ALPN. This allows client and server to decide on HTTP 1.1 or http/2 based on what they support. But over plain-text, there is no suc

Re: [go-nuts] Re: golang and http2

2017-11-15 Thread 'Anmol Sethi' via golang-nuts
It’s really easy to do, see https://github.com/nhooyr/lily/blob/fb72112455ade17f36ed773d87902bb5eefe051e/lily.go#L82-L109 The only disadvantage is that you will not have graceful shutdown. > On Nov