h2c-golang-example
h2c-golang-example copied to clipboard
Example HTTP/2 Cleartext (H2C) server and client in golang
if you try to post against the server: ``` curl --http2 -d foo localhost:1010 ``` you get ``` Listening [0.0.0.0:1010]... 2021/01/08 19:45:45 http: response.Write on hijacked connection from fmt.Fprintf (print.go:205)...
Using your code, if I make a handler like: ``` func handler(w http.ResponseWriter, r *http.Request) { time.Sleep(time.Second * 5) fmt.Fprintf(w, "This request is served over h2c!") } ``` and make...
Hello @thrawn01 I am from America, is it possible with your knowledge create a HTTP over TCP tunnel to bypass my isp provider , but any data the client need...