MCPcopy
hub / github.com/cloudflare/cloudflared / close

Method close

connection/http2.go:188–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

186}
187
188func (c *HTTP2Connection) close() {
189 // Wait for all serve HTTP handlers to return
190 c.activeRequestsWG.Wait()
191 c.conn.Close()
192}
193
194type http2RespWriter struct {
195 r io.Reader

Callers 3

ServeMethod · 0.95
attempt_connectionMethod · 0.45
_drainMethod · 0.45

Calls 2

WaitMethod · 0.80
CloseMethod · 0.65

Tested by 1

attempt_connectionMethod · 0.36