Closed gripedthumbtacks closed 8 years ago
:+1: It worked at that time, but seems to be broken sometime.... The problem is invalid request header. I found that :host header is not valid anymore, and :authority header is necessary according to HTTP2 standard. After fac12bb, https://www.google.com:443/ works well with example client.
Can you try it out and close the issue when it's verified that it's fixed?
I tested this:
github.com/devsisters/goquic/example/client.go
But it cannot connect to any real-world services, like https://www.google.com:443/. I modified it as such to no avail. Here is the error output:
Has this been tested on any real-world services other than the demo server? Or is QUIC too much in flux still? If the latter, totally understandable. If not, wanted to point it out so others have a documented place to seek resolution. I also noticed this comment in the base client.go foundation at github.com/devsisters/goquic/client.go:
Can you just use defer on the close? If not, something like this below instead via io.Copy?