open-consul/vendor/golang.org/x/net/http2
Matt Keeler 2ab8af4093
Add a test for go routine leaks
This is in its own separate package so that it will be a separate test binary that runs thus isolating the go runtime from other tests and allowing accurate go routine leak checking.

This test would ideally use goleak.VerifyTestMain but that will fail 100% of the time due to some architectural things (blocking queries and net/rpc uncancellability).

This test is not comprehensive. We should enable/exercise more features and more cluster configurations. However its a start.
2020-06-24 17:09:50 -04:00
..
hpack Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
.gitignore
Dockerfile
Makefile
README
ciphers.go
client_conn_pool.go
databuffer.go
errors.go
flow.go
frame.go
go111.go
gotrack.go
headermap.go
http2.go Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
not_go111.go
pipe.go Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
server.go Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
transport.go Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
write.go
writesched.go
writesched_priority.go Add a test for go routine leaks 2020-06-24 17:09:50 -04:00
writesched_random.go

README

This is a work-in-progress HTTP/2 implementation for Go.

It will eventually live in the Go standard library and won't require
any changes to your code to use.  It will just be automatic.

Status:

* The server support is pretty good. A few things are missing
  but are being worked on.
* The client work has just started but shares a lot of code
  is coming along much quicker.

Docs are at https://godoc.org/golang.org/x/net/http2

Demo test server at https://http2.golang.org/

Help & bug reports welcome!

Contributing: https://golang.org/doc/contribute.html
Bugs:         https://golang.org/issue/new?title=x/net/http2:+