commit | ed0556cc888129faa06ff0ef3c65e0ce59c8b75c | [log] [tgz] |
---|---|---|
author | Olivier Poitrey <[email protected]> | Wed Sep 28 23:24:16 2016 -0700 |
committer | Brad Fitzpatrick <[email protected]> | Thu Sep 29 18:27:59 2016 +0000 |
tree | 6eef8347e63720fdf9029768bad73b5cac41537b | |
parent | fbd690d9150388e49b365771016b00aa663cee19 [diff] |
http2: implement Ping method on ClientConn This new method sends a PING frame with random payload to the peer and wait for a PING ack with the same payload. In order to support cancellation and deadling, the Ping method takes a context as argument. Fixes golang/go#15475 Change-Id: I340133a67717af89556837cc531a885d116eba59 Reviewed-on: https://go-review.googlesource.com/29965 Reviewed-by: Brad Fitzpatrick <[email protected]> Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>